URI is not registered ( Setting | Project Settings | Schemas and DTDs ) 解决方案
来源:互联网 发布:final cutpro mac 编辑:程序博客网 时间:2024/06/08 15:05
问题出现描述:
For me this was because I was using a debug and release build variant. I added the new folders src/debug/res/layout/some_layout.xml file manually, and it didn't recognize the URI.
使用build variant的时候在src建了和main同级的目录,然后res/layout下面拷贝了一个main下面正常的布局文件。然后就在
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
上面两行报错了:
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
解决方案:
1.I switched the build variant to release, and then back to debug. This caused AS to reload something, and the error went away.这个方案没试验过
2.浏览statckoverflow其他页面的时候有人说是这版本的bug,建议升级。我升级之后重启as问题就解决了。不过我感觉具体原因应该是第一种方案说的as现在有bug,没有reload一些资源造成的。
http://stackoverflow.com/questions/16883427/why-is-android-studio-reporting-uri-is-not-registered
1 0
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- URI is not registered ( Setting | Project Settings | Schemas and DTDs ) 解决方案
- URI is not registered ( Setting | Project Settings | Schemas and DTDs ) 解决方案
- IDEA报错URI is not registered ( Setting | Project Settings | Schemas and DTDs
- URI is not registered(Settings |... | Schemas and DTDs)
- Idea中的html文件约束URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs
- URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) in pom.xml
- Android Studio http://schemas.android.com/apk/res/android “URI is not registered”解决方案
- idea中maven项目pom.xml文件报错url is not registered(settings | languagers & frameworks | schemeas and dtds)
- uri is not registered
- URI Is Not Registered
- uri is not registered
- URI is NOT Registered
- URI Is Not Registered
- hbase脚本操作
- JIW 相关文档
- [C++]时间格式转换器24转为12(class)
- 推送(app在线,离线推)
- JS的prototype和__proto__
- URI is not registered ( Setting | Project Settings | Schemas and DTDs ) 解决方案
- ThreadLocal的设计和使用
- JAVA乐观锁和悲观锁
- 如何在JSP页面导入java类
- Hadoop分布式文件系统HDFS的具体实现
- linux centos7 常用命令【systemctl替换service】
- 往往并不是有兴趣才能做好,而是做好了才有兴趣
- 等腰三角形
- throw 和 throws的区别