ERROR: dump failed because no AndroidManifest.xml found

后端 未结 9 935
终归单人心
终归单人心 2020-12-31 08:12

When I try to upload an application to android playstore I get the following error:

ERROR: dump failed because no AndroidManifest.xml found

相关标签:
9条回答
  • 2020-12-31 08:28

    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....

    taken from while uploading file to android market error

    0 讨论(0)
  • 2020-12-31 08:28

    In my case the problem was with the filename: I accidentally (subconsciously) renamed it to .apk, when it should be .aab

    0 讨论(0)
  • 2020-12-31 08:32

    Error while run xamarin.uitest on using android sdk build tools 29. Problem solved by changing android sdk build tools to 28.

    0 讨论(0)
  • 2020-12-31 08:34

    OPTION #1: Slow down an re-read every step. (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: Test the features required by your application with an 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>
    
    0 讨论(0)
  • 2020-12-31 08:34

    Just write on terminal "flutter clean" it worked!

    0 讨论(0)
  • 2020-12-31 08:34

    Solved : Im using VScode.

    What happened : After dart update, there was a permission error on flutter.bat

    Solution :

    1. Locate flutter.bat and give Full controll.
    2. Open a cmd with Admin privileges, locate the folder that you are doing the development.
    3. use 'FLutter clean' command (do not use vscode Terminal)
    4. rerun app using 'Run without debug'

    cheers.

    0 讨论(0)
提交回复
热议问题