Question

[Kotlin Programming] I test the Kotlin program (Mark Six) then it shows Execution failed for task ':processDebugResources'. How to remove the error?PLZ

The first picture is my build.gradle

G MainActivity.kt i Ar app때 activity.-main.xml x apply plugin: com.android.application ー apply plugin: kotlin-and roid app

G MainActivity.kt · activity.main.xml package ad.s20051035.marksix import android.support.v7.app.AppCompatActivity import and

newstringlu old num replaceFirsttold_num, newvalue: mum[i ]? setText(newString IO) 48 companion object S4 s6 fun getRandomint

0 0
Add a comment Improve this question Transcribed image text
Answer #1

this problem arises generally if your targetedsdkversion is not set correctly or either build tool version is not set corrrectly.

your dependencies seems alright you need not to make any change in them.
you can try these:

  1. try lowering the targetedsdkversion if you have upgraded the sdk version
  2. clean the the project delete build folder and make project again
  3. try installing 32 bit dependencies(if above not works)

for installing you can use following commands

sudo apt-get install -y lib32gcc1 libc6-i386 lib32z1 lib32stdc++6
sudo apt-get install -y lib32ncurses5 lib32gomp1 lib32z1-dev lib32bz2-dev

Thanks hope this will help you

Add a comment
Know the answer?
Add Answer to:
[Kotlin Programming] I test the Kotlin program (Mark Six) then it shows Execution failed for task...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT