android - "Error:Some file crunching failed, see logs for details" when added google services -


there issue when building project google services included. added following google services classpath root build.gradle file:

dependencies {     classpath 'com.android.tools.build:gradle:2.3.3'     classpath 'com.google.gms:google-services:3.1.0' } 

and project starts complain following error when compiled:

some file crunching failed, see logs details

error:execution failed task ':app:mergedebugresources'.

error: file crunching failed, see logs details

i checked logs ide, there seems no issue there. how fix include google services in project?

in so post, same error encountered.

if have .9.png files, try remove them , test. in post user has many 9 patch images possible reason of crunching problem.

another thing add code below build.gradle file.

 android {     aaptoptions {          cruncherenabled = false       }   } 

by doing this, able exposed incorrect references , files issues needed fix. before rebuild, don't forget clear cache.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -