Android Studio 解决 Error: Failed to crunch file

异常日志:

Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\Administrator\Desktop\MegviiFaceppv2_Android_0.5.2\MegviiFacepp-Android-SDK-0.5.2-CN\Android-Demo\faceppdemo\build\intermediates\exploded-aar\com.android.support\appcompat-v7\26.0.0-alpha1\res\drawable-hdpi-v4\abc_ic_menu_share_mtrl_alpha.png into C:\Users\Administrator\Desktop\MegviiFaceppv2_Android_0.5.2\MegviiFacepp-Android-SDK-0.5.2-CN\Android-Demo\faceppdemo\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_ic_menu_share_mtrl_alpha.png

问题原因:

工程存在的路径太长

解决办法:

更换工程路径

你可能感兴趣的:(Android Studio 解决 Error: Failed to crunch file)