Playstore error: App Bundle contains native code, and you've not uploaded debug symbols

后端 未结 5 483
遥遥无期
遥遥无期 2020-12-29 18:03

When I want to release a new flutter app bundle to the Playstore. I get this error: "This App Bundle contains native code, and you\'ve not uploaded debug symbols. We re

相关标签:
5条回答
  • 2020-12-29 18:38

    I have the exact same issue.

    Possible solutions:

    1. Use the Google classic Play console
    2. Gradle 4.1 is now released with Android Studio 4.1
    0 讨论(0)
  • 2020-12-29 18:45

    Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project.

    You have to add it in gradle.properties not build.gradle

    0 讨论(0)
  • 2020-12-29 18:47

    If talking about Flutter, looks like the Flutter team needs to change some source files for the NDK, because it does not see where from to generate debug symbols.

    Here is an issue thread: https://github.com/flutter/flutter/issues/60240

    Setup steps are so:

    • Pre-condition: Intall Android studio 4.1+ and Gradle 4.1+
    1. Install NDK (Side by Side) in SDK manager

    2. Write path to NDK in local.properties

    3. Add in app/build.gradle (last line) android.buildTypes.release.ndk.debugSymbolLevel = 'FULL'

    0 讨论(0)
  • 2020-12-29 18:55

    The Answer was given by Shakle will be not useful as per the following message on Play Console.

    The old version of Play Console will be discontinued from November 2, 2020 You’re already using the new Play Console, so you don’t need to do anything. A few features are going away if you want to check them one last time.

    It's just a warning, nothing else. Just go ahead.

    If you don't want any warning, Go to this link and follow the steps:

    https://support.google.com/googleplay/android-developer/answer/9848633?hl=en

    You can use the new version of the play store as it is.

    0 讨论(0)
  • 2020-12-29 18:57

    Before you can upload debug symbols files, you must be using Android Gradle plugin version 4.1 or higher.

    Looks like it will come only with Android Studio 4.1, because I can only get Gradle 4.0.0 automatically now.

    So I suggest you to return classic Play console and it will let you through :)

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