android Project导入library出现 Error:No resource identifier found for attribute 'xx' in package xx'

           在android主工程导入library的时候,出现了 Error:No resource identifier found for attribute 'xx' in package xx'错误,原因是因为我们导入library,导入了自定义的view出错。

         

       xmlns:view="http://schemas.android.com/apk/res/manifest里面的包名
       改为:
       xmlns:view="http://schemas.android.com/apk/res-auto"

       这样编译就通过了!


猜你喜欢

转载自blog.csdn.net/qq_28670711/article/details/78802182