Android资源链接失败AAPT:错误:写入失败

huangapple go评论96阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年8月26日 22:46:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/63600174.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定