英文:
Android resource linking failed AAPT: error: failed writing to
问题
AAPT
:错误:写入失败至 '
> C:\Users
> DEV\Desktop\Gamers\app\build\intermediates\runtime_symbol_list\debug\R.txt
> ':数据无效(13)。
我已尝试清理和重新构建项目。我还尝试删除了该文件夹,但操作失败。
英文:
AAPT
: error: failed writing to '
> C:\Users
> DEV\Desktop\Gamers\app\build\intermediates\runtime_symbol_list\debug\R.txt
> ':The data is invalid. (13).
I have tried to clean and rebuild the project. I have also tried deleting the folder but it has failed
答案1
得分: 0
我认为这可能是一些 Windows 问题。尝试将项目移动到 C:\proj_name
,这样项目路径中就不会有空格。如果这没有帮助 - 以管理员身份运行 Android Studio。
英文:
I think it could be some windows issue. Try to move the project to C:\proj_name
, so there will be no whitespaces
in the project path. And if that does`t help - run Android Studio as Administrator.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论