【问题标题】:Uploading App to PlayStore failed将应用上传到 PlayStore 失败
【发布时间】:2014-07-04 13:03:37
【问题描述】:

当我尝试将签名的 apk 上传到 PlayStore 时,我收到以下错误:

无法使用“aapt dump badging”分析您的 APK。 错误输出:无法运行 aapt dump badging 找不到条目资源.arsc 邮编:找不到条目 AndroidManifest 错误:转储失败,因为没有找到 AndroidManifest

我的清单文件是:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.aa"
android:versionCode="1"
android:versionName="1.0"  >

    <uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="18" />
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

    <application
    android:allowBackup="true"
    android:label="@string/app_name"
    android:theme="@style/AppTheme"
    android:icon="@drawable/logo" 
    android:debuggable="false">

        <meta-data android:name="com.google.android.gms.version"
           android:value="@integer/google_play_services_version"/>

    <activity
        android:name="com.example.aa.xx"
        android:label="@string/app_name" 
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.Black.NoTitleBar">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity 
        android:name="com.example.aa.bb"
         android:theme="@android:style/Theme.Black.NoTitleBar"
          android:screenOrientation="portrait"></activity>

      <activity android:name="com.google.android.gms.ads.AdActivity"
  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

</application></manifest>

我哪里错了?

感谢您的回复

【问题讨论】:

  • 我希望你也有清单 colsing 标签&lt;/manifest&gt;
  • 您是如何创建 APK 的?
  • 我使用右键单击项目 -> Android 工具 -> 导出签名的应用程序创建了签名的 apk。我也尝试了其他方法,但仍然遇到同样的问题。

标签: android google-play android-manifest


【解决方案1】:

大家感谢您的回复。我能够上传应用程序。

对于可能遇到类似问题的人,这里是解决方案:

我刚刚将包名从 com.example.aa 更改为 com.zz.aa,问题就解决了。 所以我建议不要在包名中保留示例。

【讨论】:

  • bin 文件夹中是否有 androidmenifest.xml 文件?如果没有,则将其粘贴在那里,然后创建 apk
  • 你没有使用自己的包名? o_o
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-01-10
  • 1970-01-01
  • 2018-04-05
  • 2018-02-21
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多