The file is invalid:ERROR:dump failed because no A

2019-02-18 22:51发布

I've faced this problem when I'm trying to upload my android application on Android market. I've visited this question and answer of stackoverflow and I believe that my AndroidManifest.xml is in apk file when I export and all content of this xml file are correct for sure as follow.

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

    <application android:icon="@drawable/coldfusion_icon" android:label="@string/app_name">
        <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>
        <activity android:name=".Detail" />
        <activity android:name=".related" />
        <activity android:name=".Lists" />
    </application>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-sdk android:minSdkVersion="5" />     
</manifest>

Please help me how come I faced this error message of android market when I'm trying to upload.

2条回答
仙女界的扛把子
2楼-- · 2019-02-18 23:21

I've solved this problem. It's because of I've uploaded apk to Market with ultersurf proxy. Because Android market block our country's IP.

查看更多
时光不老,我们不散
3楼-- · 2019-02-18 23:21

Faced this problem minutes ago. My Manifest was correct and I kept getting this Error. This worked for me:

Open the Manifest file in Eclipse, go to the end of the file I found lots of " " characters follow by the tag . Delete the " " characters and save.

Then just export it from Eclipse and upload it to Google Play. And it WORKS.

查看更多
登录 后发表回答