0

当我尝试在 google play 上上传我的 apk 时出现此错误消息:无法使用“aapt dump badging”分析您的 APK。错误输出:

无法运行 aapt 转储标记:W/ResourceType(23432):错误的 XML 块:标头大小 28257 或总大小 1936025193 大于数据大小 3069 错误:AndroidManifest.xml 已损坏如果您知道什么,请帮助我!

我的 manifest.xml 是:

        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
         package="com.test"
         android:versionCode="1"
         android:versionName="1.0">
         <uses-sdk
         android:minSdkVersion="8"
         android:targetSdkVersion="15" />
         <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
         <uses-permission android:name="android.permission.INTERNET"/>
         <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
         <application
      android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.NoTitleBar"
    >
    <activity
        android:name=".activities.SplashActivity"
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"
        >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity 
        android:name=".activities.StartActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.SafeUseCategoryActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity
        android:name=".activities.SafeUseActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.ProtractorActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.LoadChartsCategoryActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.ChartsActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.CertmaxPlusActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.AboutActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.NewsActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.ContactActivity" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.LoadWireChartCategory" 
        android:screenOrientation="portrait"
        android:launchMode="singleInstance"/>
    <activity 
        android:name=".activities.ChangeUserInfoActivity" 
        android:screenOrientation="portrait"
        />
    <activity 
        android:name=".activities.SetupActivity" 
        android:screenOrientation="portrait"
        />
</application>

4

1 回答 1

-1
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.test"
     android:versionCode="1"
     android:versionName="1.0">
     <uses-sdk
     android:minSdkVersion="8"
     android:targetSdkVersion="15" />
     <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
     <uses-permission android:name="android.permission.INTERNET"/>
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
     <application
  android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar"
>
<activity
    android:name=".activities.SplashActivity"
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"
    >
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>
<activity 
    android:name=".activities.StartActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.SafeUseCategoryActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity
    android:name=".activities.SafeUseActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.ProtractorActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.LoadChartsCategoryActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.ChartsActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.CertmaxPlusActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.AboutActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.NewsActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.ContactActivity" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.LoadWireChartCategory" 
    android:screenOrientation="portrait"
    android:launchMode="singleInstance"/>
<activity 
    android:name=".activities.ChangeUserInfoActivity" 
    android:screenOrientation="portrait"
    />
<activity 
    android:name=".activities.SetupActivity" 
    android:screenOrientation="portrait"
    />

于 2012-12-23T04:44:22.873 回答