1、当提示错误:❌URI is not registered…………时
You can make this check go away by going to the section identified by the warning message (open your Settings, then go to Languages & Frameworks > Schemas and DTDs) and add an entry in the Ignored Schemas and DTDs section for the URL.
2、❌Attribute android : layout_width is not allowed here
Attribute android : layout_height is not allowed here
……
看网上的提示,我还没有make project,所以先make一下看报什么错误:
❌Android resource linking failed
android 重构异常Android resource linking failed
上面这篇博文中的内容:
android resource linking failed 问题的出现,首先要做的就是要保证res中的xml中无异常,其中包括,xml格式的错误、文件完整、文件中关联资源的完整;其次考虑clean project,删除本地重构gen文件,重新builde project;最后确保gradle中各版本的对应。
???那我就是绕了个圈圈,res中的xml文件确实是异常的……
????,回到最初的错误:Attribute android : layout_width is not allowed here
???? 又在网上搜到一个解决方法:
出现这个错误,是因为安卓版本选择和 sdk 版本不一致,我新建项目用的Android 4.4,但是 sdk 没有,所以去Settings下载一个4.4版本就可以
但是,没有用……
???? 又看到一个博客,说是重新sync一下,然后我就删了该工程又重新建立新工程,期间把 AS 的每次新建项目自动下载 gradle 解决了,然后就好了……
URI
Uniform Resource Identifier,统一资源标识符。在 IMS 网络中 IMS 用户的“名字”,也就是 IMS 用户的身份标识。
IMS
IP Multimedia Subsystem,IP多媒体子系统,是一种全新的多媒体业务形式,它能够满足现在的终端客户更新颖、更多样化多媒体业务的需求。
SDK
Software Development Kit,软件开发工具包。一般指一些软件工程师为特定的软件包、软件框架、硬件平台、操作兄台那个等建立应用软件时的开发工具的集合。