No resource identifier found for attribute 'srcCompat' in package的解决办法
2018-03-25 14:46
609 查看
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" tools:context="com.xqq.ndkjnidemo.MainActivity"/>
将
xmlns:app="http://schemas.android.com/apk/res-auto"改成
xmlns:app="http://schemas.android.com/apk/package_name"即可
相关文章推荐
- No resource identifier found for attribute 'srcCompat' in package的解决办法
- No resource identifier found for attribute 'srcCompat' in package的解决办法
- `Error:(11) No resource identifier found for attribute 'srcCompat' in package 'com.codifythings.ligh
- 报错 No resource identifier found for attribute '****' in package '***.***'解决办法
- 解决aapt.exe停止工作(No resource identifier found for attribute 'showAsAction' in package 'android')
- No resource identifier found for attribute 'headerLayout' in package错误解决方法
- No resource identifier found for attribute'showAsAction' in package '...... '解决方法之一
- No resource identifier found for attribute 'headerLayout' in package错误解决方法
- Error 11 No resource identifier found for attribute 'textAlignment' in package 'android' 问题解决
- 自定义view中错误:No resource identifier found for attribute X in package X
- 自定义view中错误:No resource identifier found for attribute X in package X
- Android 自定义控件No resource identifier found for attribute X in package X 和 res与res-auto的配置
- No resource identifier found for attribute 'mode' in package 'com.aaa.bbb'
- 使用自定义属性报错 No resource identifier found for attribute 'widthFactor' in package
- 自定义view引起的错误:No resource identifier found for attribute *in package *
- android自定义View时报 error: No resource identifier found for attribute ‘XXX’ in package 'XXX'
- 自定义View XML文件出现No resource identifier found for attribute 'xxx' in package 'xxx.xxx.xxx'错误
- No resource identifier found for attribute X in package X
- Android自定义View:No resource identifier found for attribute ‘XXX’ in package ‘XXX‘
- error: No resource identifier found for attribute 'dropDownHorizontalOffset' in package 'android'