Today I got update for android studio 2.0 in stable version.
I update it and it restarted.
Then when It opens my existing project, it ask me to update my gradle plugin to 2.0 to get advantages of "instant run" and other features to my current project of android studio 2.0
So I update it and it sets to
classpath 'com.android.tools.build:gradle:2.0.0'
but when I clean the project it gives me below error
AAPT err(Facade for 1961798984): libpng error: Read Error.
Error:Execution failed for task ':app:mergeDebugResources'.
Some file crunching failed, see logs for details
I tried to fixed it many times but it didn't solve.
Can anyone know what is the reason for this error ?
You can try to add this to your app build.gradle file
android {
aaptOptions {
cruncherEnabled = false
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With