Android storage of reversible images in res folders gives error

So, I'm trying to save the image in one of the drop-down folders in my android problem, but no matter where I put the image file, trying to create or run my program gives this error

C:\Users\*****\AppData\Local\Android\android-sdk\tools\ant\build.xml:621: The following error occurred while executing this line: C:\Users\******\AppData\Local\Android\android-sdk\tools\ant\build.xml:657: null returned: 1 

Offensive lines of code:

 621-elseText="hasCode = false. Skipping aidl/renderscript/R.java"> 657-proguardFile="${out.absolute.dir}/proguard.txt"> 

As soon as I delete the image file, my application cleans and builds and starts without problems. What am I doing wrong?

+4
source share
1 answer

Upper case letters are not allowed in resource file names. Have you confirmed?

+7
source

Source: https://habr.com/ru/post/1439000/


All Articles