无法解析提供商 android:name
cannot resolve provider android:name
我似乎无法理解这是我编辑的 android manifest.xml 代码。它一直说 .NotesProvider 附加到 android:name 无法解析
<?xml version="1.0" encoding="utf-8"?>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider
android:authorities="com.mizer.spizer.mizer.com.spizer.mizer.evaluation.notesprovider"
android:name=".NotesProvider"
android:exported="false" />
</application>
您的提供商列表的语法似乎不正确。多个权限必须用分号分隔。您似乎在列表中有重复的权限,或者您有多个权限没有用分号分隔。
在此处查看 Google 开发人员文档,了解如何使用 provider 元素:
http://developer.android.com/guide/topics/manifest/provider-element.html
向下滚动到第一个属性 'Android:authorities'
我似乎无法理解这是我编辑的 android manifest.xml 代码。它一直说 .NotesProvider 附加到 android:name 无法解析
<?xml version="1.0" encoding="utf-8"?>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider
android:authorities="com.mizer.spizer.mizer.com.spizer.mizer.evaluation.notesprovider"
android:name=".NotesProvider"
android:exported="false" />
</application>
您的提供商列表的语法似乎不正确。多个权限必须用分号分隔。您似乎在列表中有重复的权限,或者您有多个权限没有用分号分隔。
在此处查看 Google 开发人员文档,了解如何使用 provider 元素:
http://developer.android.com/guide/topics/manifest/provider-element.html
向下滚动到第一个属性 'Android:authorities'