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 .

1 comment:

  1. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from you! However,
    how can we communicate?

    https://knowthistech.com/android-q-beta-debuts-how-to-download-compatible-devices-new-features-and-more/

    ReplyDelete