S
S
Sanya Hihi Haha2020-05-28 17:08:11
Java
Sanya Hihi Haha, 2020-05-28 17:08:11

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

1 answer(s)
O
Orkhan, 2020-05-28
Hasanly @azerphoenix

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
    }
    ....
}

Here, Google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question