ERROR ic_launcher.png AAPI error failed to read PNG signature file does not start with PNG signature

preview_player
Показать описание


3. Check the downloaded ic_launcher width and high with our noted
4. Replace them to each folder
5. Build it
7. Now, I am going to Export .png format with the same width and heigh from Online photoshop website becaues I didn't install photoshop in my laptop.
8. and then build again
10. I tried to follow again for this folder mipmap-xhdpi
11. Rebuild it again
12. Found error with the same No.6

13. SOLUTION:
Finally there is an official way to disable the PNG cruncher with Gradle which hasn't been mentioned here yet:

aaptOptions {
cruncherEnabled = false
}

14. Build it
15. APK is generated successfully.

16. Thank you so much for watching this video.

Best Regards,
Nai with big smile :)
Kyaikkhami Academy
Рекомендации по теме
Комментарии
Автор

finally its solved the problem, thanks dude!

ashokkmr
Автор

Installing and Creating Basic Xamarin project - Key store file (Virtual Studio)

Solutions for Flutter after installing Git, VS code, Flutter, Android Studio, , Visual Studio

Kyaikkhami