AAPT err(Facade for 996171469): libpng error: Not a PNG file
Error:Execution failed for task ‘:app:mergeDebugResources’.
> Some file crunching failed, see logs for details
Solution:
apply plugin: ‘com.android.application’
android {
compileSdkVersion 22
buildToolsVersion “23.0.1”
aaptOptions {
cruncherEnabled = false
}
defaultConfig {
applicationId “net.sourceforge.simcpux”
minSdkVersion 4
targetSdkVersion 4
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.txt’
}
}
}
dependencies {
compile files(‘libs/libammsdk.jar’)
}
Similar Posts:
- Android Stdio Compile project report Error:Failed to find target with hash string ‘android-24
- How to Solve Failure [INSTALL_FAILED_OLDER_SDK]
- Solution of no debuggable applications after Android monitor connects devices in Android studio
- android unity Error: your hardware does not support this application,sorry!
- Lint found fatal errors while assembling a release target [How to Solve]
- To solve the version compatibility problem of support library: the support package has a red underline when it is introduced
- [Solved] Duplicate class com.blankj.utilcode.BuildConfig found in modules classes.jar
- Call requires API level 4 (current min is 3) [How to Solve]
- [Solved] com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- [Solved] Android studio AAPT2 error: Execution failed for task ‘:app:mergeDebugResources’.