前缀 "android" 怎么绑定绑定.,Android - 前缀“xmlns”不能明确绑定到任何名称空间;(Android - The prefix “xmlns” cannot be bound ...

Android - 前缀“xmlns”不能明确绑定到任何名称空间;(Android - The prefix “xmlns” cannot be bound to any namespace explicitly; neither can the namespace for “xmlns” be bound to any prefix explicitly)

有没有人得到这个“xmlns”命名空间问题(见下文)? 我无法再建立我的工作项目。

起初我以为这是我的git分支,所以我切换到原点开发和主分支 - 问题依然存在。

我清理并重建了我的项目 - 问题依然存在。

我清理并同步了我的成绩档案 - 问题依然存在。

最后,我尝试重新安装Android Studio并重新创建我的git存储库 - 问题依然存在。The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

Error: The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

:{project}:mergeReleaseResources FAILED

Execution failed for task ':{project}:mergeReleaseResources'.

> {project}/build/intermediates/incremental/mergeResources/release/merger.xml:1:61: Error: The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

注意:问题看起来类似于Android Gradle合并的Values.xml使用了错误的命名空间 ,但是我找不到一个未使用的命名空间。 我进行了检查,但没有找到未使用的命名空间。

Is anyone getting this "xmlns" namespace issue (see below)? I cannot build my work project anymore.

At first I thought it was my git branch, so I switched to the origin develop and master branches - issue persists.

I cleaned and rebuilt my project - issue persists.

I cleaned and synched my grade files - issue persists.

Finally I tried re-installing Android Studio and re-creating my git repository - issue persists. The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

Error: The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

:{project}:mergeReleaseResources FAILED

Execution failed for task ':{project}:mergeReleaseResources'.

> {project}/build/intermediates/incremental/mergeResources/release/merger.xml:1:61: Error: The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "xmlns" be bound to any prefix explicitly.

Note: Issue seems similar to Android Gradle merged Values.xml uses wrong namespace, but I couldn't find an unused namespace. I ran an inspect, but no unused namespaces were found.

原文:https://stackoverflow.com/questions/29221236

更新时间:2019-10-28 02:35

最满意答案

在我的情况下,删除com_crashlytics_export_strings.xml文件修复了这个错误。

xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

In my case deleting the com_crashlytics_export_strings.xml file fixed this error.

xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

相关问答

在我的情况下,删除com_crashlytics_export_strings.xml文件修复了这个错误。 <?xml version="1.0" encoding="utf-8" standalone="no"?>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值