When compiling my debugging application in Android Studio, I get the following errors:
Failed to run command: C:\Users\Farbod\Android-SDK\build-tools\21.1.2\aapt.exe s -i C:\Users\Farbod\AndroidStudioProjects\MyApp\app\src\main\res\drawable-hdpi\img_myImage.png -o C:\Users\Me\AndroidStudioProjects\MyApp\app\build\intermediates\res\debug\drawable-hdpi-v4\img_myImage.png Error Code: 42 Output: C:\Users\Me\AndroidStudioProjects\MyApp\app\src\main\res\drawable-hdpi\img_myImage.png: libpng warning: IDAT: Too many IDATs found libpng error: Read Error :app:mergeDebugResrouces FAILED
I checked that all my files are in .png format, and I'm not sure what might be wrong.
source share