Answer the question
In order to leave comments, you need to log in
How to solve this compilation error?
Ku
There is not a big java application, the code is ready, but when run through android studio it gives an error
C:\Users\val1n0r\Desktop\project\app\src\main\res\drawable-hdpi-v4\abc_list_divider_mtrl_alpha.9.png: AAPT: error: file failed to compile.
This png file is of course available in the res \ drawable-hdpi-v4 folder. I
suspect that from the next. png will have the same problem
please help
Answer the question
In order to leave comments, you need to log in
Here it is recommended to rename the file - https://stackoverflow.com/questions/23169333/error...
Here is another solution:
https://stackoverflow.com/questions/39428174/andro...
android {
....
aaptOptions {
cruncherEnabled = false
}
....
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question