Android Studio build errors

322 views
Skip to first unread message

Giuseppe Palmas

unread,
Apr 29, 2015, 6:51:17 AM4/29/15
to improvemyc...@googlegroups.com
Hi!
Im'using Android Studio for the first time...
I tried to load the project and build it, but I get errors like this:

Error:Error: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\DATI\Work\MyCityUp\APP\adt-bundle-windows-x86-20131030 - Copia (2)\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42

and this:

Error:Execution failed for task ':app:mergeReleaseResources'.
> C:\DATI\Work\MyCityUp\APP\IMC ANDROID STUDIO\ImproveMyCity-Mobile-master\ImproveMyCity-Mobile-master\ImproveMyCity_Project\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.0.0\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:\DATI\Work\MyCityUp\APP\adt-bundle-windows-x86-20131030 - Copia (2)\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 42

I'm not sure about what I can do to compile the source.
Can you help me?

Thanks in advance!!!

Dimitrios Ververidis

unread,
Apr 29, 2015, 9:13:24 AM4/29/15
to improvemyc...@googlegroups.com
Hi Giuseppe,

The

C:\DATI\Work\MyCityUp\APP\IMC ANDROID STUDIO\ImproveMyCity-Mobile-master\ImproveMyCity-Mobile-master\ImproveMyCity_Project\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.0.0\res\drawable-mdpi\common_signin_btn_text_disabled_focus_light.9.png

is too long (276chars)

The limit is 255chars.
You have too many folders with improve my city name.

BR,
Dimitrios




Giuseppe Palmas

unread,
Apr 29, 2015, 11:49:23 AM4/29/15
to improvemyc...@googlegroups.com
Ok, I set a different path and now it's solved.
I can try to make an apk now.
Thank you!
Reply all
Reply to author
Forward
0 new messages