java - Issues after updating android support library dependencies -


i updated android support library dependencies in build.gradle file when trying build project showing below error:

aapt: libpng error: not png file :app:mergedebugresources failed error:execution failed task ':app:mergedebugresources'. > file crunching failed, see logs details 

it's working fine when using old dependencies:

old dependencies:

compile 'com.android.support:support-v4:23.1.1' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' compile 'com.android.support:percent:23.1.1' compile 'com.android.support:support-v13:23.1.1' 

new dependencies:

 compile 'com.android.support:support-v4:24.0.0-alpha1'  compile 'com.android.support:appcompat-v7:24.0.0-alpha1'  compile 'com.android.support:design:24.0.0-alpha1'  compile 'com.android.support:percent:24.0.0-alpha1'  compile 'com.android.support:support-v13:24.0.0-alpha1' 

can me out issue?
thank time , assistance in matter.

there related issue makes problem arise:

  1. this related image type not png type renamed png one. can check image type.

  2. the project using old build project, try clean , rebuild project.

  3. as last resort, can try file->invalidate caches/restart.. android studio menu.


Comments