GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
04/24/15 11:09 PM (9 years ago)

[Resolved] Android Studio Compile Error

Hello! Trying to compile an app for somebody, and getting the following error: Error:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher common_signin_btn_text_disabled_focus_light.9.png failed, see logs These are apparently images from the Google Play Services. I can't quite figure out how to get past this...anybody else seen it? I am compiling against Android API 14 (4.0), and have followed the instructions in the PDF to the letter! Thanks! Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/24/15 11:15 PM (9 years ago)
More errors: Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\IBM_ADMIN\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42 Error:Execution failed for task ':app:mergeDebugResources'. > C:\Users\IBM_ADMIN\Dropbox\Buzztouch\Other Peoples Stuff\Samira Kazan\Alpha Breakfast\alphabreakfast-for-Android-Studio\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\6.5.87\res\drawable-mdpi\common_signin_btn_text_disabled_focus_light.9.png: Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\IBM_ADMIN\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42 Thanks! Mark
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/25/15 04:48 AM (9 years ago)
You don't have to use Google Play Service. If you can take it out and see if that solves the problem. LA
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/25/15 09:06 AM (9 years ago)
I think you do still need Google Play Services library, because it's listed in the manifest. I did take it out, and got errors about it not being there. I started thinking that maybe this was a pathing problem...like the path to the files was too long. So, I moved the project to the desktop, and, amazingly, it compiled! Crazy! Mark
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/25/15 09:21 AM (9 years ago)
That's weird because I have never added it and bt projects runs. I think it might include it already maybe? Awesome! LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.