[英]Element type “Resource” must be followed by either attribute specifications, “>” or “/>”
[英]Element type “provider” must be followed by either attribute specifications, “>” or “/>”
有人可以告訴我我的清單文件有什么問題嗎? 我收到以下錯誤:
元素類型“provider”必須后跟屬性規范,“>”或“/>”
顯現
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cypri.games"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".CyipsoidActivity"
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:name="MyContentProvider" android:authorities="com.cypri.games" />
</application>
</manifest>
我會說您的解析器對 XML 命名空間(屬性名稱中有一個冒號)不滿意,或者文件中的某些控制字符沒有轉移到您的問題。
如果您有重構器提供程序 class package,請檢查清單文件,否則會產生一些語法錯誤。 只需重新檢查您的清單文件以提供語法。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.