Friday 10 June 2016

A Reason for AAPT: libpng error: Not a PNG file and Solution

If you are facing issue of  AAPT: libpng error: Not a PNG file


Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.lang.RuntimeException: Some file crunching failed, see logs for details


Solution : 

Then you need to check your app's all .png file of android project and make sure you have not change any .jpeg to .png format by mistake . Because it might happen that in previous android studio it might working but with update of new android studio 2.2 it will give Error .

No comments:

Post a Comment