2013-05-16 19 views
8

gefunden Wenn ich versuche, eine Anwendung auf Android Plays ich die folgende Fehlermeldung erhalten zu laden:ERROR: dump ist fehlgeschlagen, da keine AndroidManifest.xml

ERROR: dump failed because no AndroidManifest.xml found 

Schritte, die ich nahm:

  • neue HDD, installieren sie sauber jre, jdk
  • herunterladen android eclipse bündel - neueste version heute
  • machen ein neues projekt, probe. einfache Hallo Welt
  • signieren Sie es mit dem Assistenten, erstellen Sie ein Zertifikat etc.
  • versuchen, es auf den Markt zu laden ... = FEHLER!

Ich habe viele Kombinationen ausprobiert, verschiedene Eclipse-Versionen. sogar um es manuell zu signieren. es funktioniert nicht wenn ich versuche, aapt dump badging ausführen, bekomme ich den gleichen Fehler.

wenn jemand eine Lösung kennen ...

(SPÄTER EDIT): die schnellste Lösung, die Sie finden können, ohne den Kopf in die Wand zu schlagen ist, ist unten in meiner eigenen akzeptierte Antwort. Wie auch immer, Inteli ist 100 mal besser als Eclipse.

+0

verwenden Sie eine beliebige Proxy-Software? wie ich dieses Problem einmal hatte, als ich UltraSurf benutzte. –

+0

nein. es gibt keinen Proxy beteiligt – OWADVL

+0

wie Unterschrift Ihre Anwendung? –

Antwort

1

Lösung:

  • kompilieren & es das Projekt unter Linux (Eclipse)
  • Schalter InteliJ Studio exportieren (empfohlen)

es von Zeit scheint Zeit gibt es ein Problem mit der Sonnenfinsternis unter Windows 7,8

3

following points are need to be taken care of while uploading file on android market

"android:versionCode" attribute from AndroidManifest.xml is proper. "android:versionName" attribute from AndroidManifest.xml is proper. The package name is very unique,. Because all the apps on android market are separated by the package.

see all this is in place....

genommen von while uploading file to android market error

+0

nein. funktioniert immer noch nicht.... – OWADVL

2

OPTION # 1: eine Wieder lesen jeden Schritt langsamer. (Source).

Basic Setup for Signing.

Before you begin, make sure that the Keytool utility and Jarsigner utility are available to the SDK build tools. Both of these tools are available in the JDK. In most cases, you can tell the SDK build tools how to find these utilities by setting your JAVA_HOME environment variable so it references a suitable JDK. Alternatively, you can add the JDK version of Keytool and Jarsigner to your PATH variable.

...

Eclipse Users

If you are developing in Eclipse/ADT (and have set up Keytool and Jarsigner as described above in Basic Setup for Signing), signing in debug mode is enabled by default. When you run or debug your application, ADT signs the .apk file with the debug certificate, runs zipalign on the package, then installs it on the selected emulator or connected device. No specific action on your part is needed, provided ADT has access to Keytool.

OPTION # 2: Testen Sie die für Ihre Anwendung erforderlichen Funktionen mit einem unsigned 'APK'. (Source).

You can use the aapt tool, included in the Android SDK, to determine how Google Play will filter your application, based on its declared features and permissions. To do so, run aapt with the dump badging command. This causes aapt to parse your application's manifest and apply the same rules as used by Google Play to determine the features that your application requires.

To use the tool, follow these steps:

First, build and export your application as an unsigned .apk. If you are developing in Eclipse with ADT, right-click the project and select Android Tools > Export Unsigned Application Package. Select a destination filename and path and click OK. Next, locate the aapt tool, if it is not already in your PATH. If you are using SDK Tools r8 or higher, you can find aapt in the /platform-tools/ directory. Note: You must use the version of aapt that is provided for the latest Platform-Tools component available. If you do not have the latest Platform-Tools component, download it using the Android SDK Manager.

Run aapt using this syntax:

$ aapt dump badging <path_to_exported_.apk> 
Verwandte Themen