源码

首页 » 归档 » 源码 » Android Studio:“执行失败的任务’:app:me…

Android Studio:“执行失败的任务’:app:me…


我在当前项目中添加了Google Play服务作为依赖项.
如果我将项目保存在C:驱动器上,
同步项目时出现以下错误:

Error: Execution failed for task ':app:mergeDebugResources'.
       > Error: Failed to run command:
       C:/Program Files (x86)/Android/android-studio/sdk/build-tools/android-4.4.2/aapt.exe s -i C:/Users/ashokp/Desktop/Studio/AndroidV2SDK_AndroidStudioFormat/Google Play
       Services/SampleApplication/AndroidV2SDKSampleApp_GooglePlayServices/app/build/exploded-aar/com.google.android.gms/play-services/4.3.23/res/drawable-hdpi/common_signin_btn_text_focus_light.9.png -o
       C:/Users/ashokp/Desktop/Studio/AndroidV2SDK_AndroidStudioFormat/Google Play
       Services/SampleApplication/AndroidV2SDKSampleApp_GooglePlayServices/app/build/res/all/debug/drawable-hdpi/common_signin_btn_text_focus_light.9.png
       Error Code:
       42

仅当项目保存在C:驱动器上时才会发生这种情况.
如果我将它保存到其他驱动器,它可以正常工作.

还有其他人面临这个问题吗?
是什么导致这个?
我该如何解决/规避这个问题?

(0)

本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/android-studiozhixingshibaiderenwuappme.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9 月 18, 2019 at 08:37 下午

热评文章