com.android.builder.internal.aapt.AaptException - Failed to crunch file

Hi,

I am getting below exception during Cordova build process. Does any one faced similar kind of issue.

Execution failed for task ':mergeDebugResources'.
> Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file
D:\test\MyTraining\Current\Test\Notification\GCMConnect\platforms\android\bu
ild\Testintermediates\exploded-aar\com.google.android.gms\play-services-base\11.0.4\
res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.p
ng into D:\test\MyTraining\Current\Test\Notification\GCMConnect\platforms\an
droid\build\intermediates\res\merged\debug\drawable-xxhdpi-v4\common_google_sign
in_btn_icon_light_normal_background.9.png

RajKumar | Answered# (13)
Reply For This Question
Answer(s) Posted
com.android.builder.internal.aapt.AaptException - Failed to crunch file

Hi,

It is due to the length of folder path where the project resides in. Move your project folder to parent folder to reduce the length of the folder path. Checkout the below link

https://stackoverflow.com/questions/33905687/error-file-path-too-long-on-windows-keep-below-240-characters

Thanks.

Raj Kumar | Answered# (13)
Post Your Answer
   Please login to post your answer.
  Member Login
  Email Address  
  Password  
   Sign Up?  
  Privacy   Terms Of Use   Contact Us
© 2016 Developerin.Net. All rights reserved.
Trademarks and Article Images mentioned in this site may belongs to Microsoft and other respective trademark owners.
Articles, Tutorials and all other content offered here is for educational purpose only and its author copyrights.