I am trying to compile my program that uses Google Play Services and I am getting this error. The *.png file in question comes from the Google Play Services Package so I cannot change it.
How to fix this?
Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file
my_app_folder
\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.4.0\res\drawable-tvdpi-v4\common_plus_signin_btn_text_light_focused.9.pnginto
my_app_folder
\app\build\intermediates\res\merged\debug\drawable-tvdpi-v4\common_plus_signin_btn_text_light_focused.9.pngError : com.android.builder.internal.aapt.AaptException: Failed to crunch file E:\Viral_Patel\viral\Android_studio_demo\android-page-transition-master\android-page-transition\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.1\res\drawable-xhdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png into E:\Viral_Patel\viral\Android_studio_demo\android-page-transition-master\android-page-transition\app\build\intermediates\res\merged\debug\drawable-xhdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png
Change the image's file name. common_plus_signin_btn_text_light_focused.9
it gives you this error because whether the file name is too long or invalid, like if it has a dot on it.
so, change common_plus_signin_btn_text_light_focused.9 to signin_light_f
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With