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

后端 未结 5 514
遥遥无期
遥遥无期 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: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'

提交回复
热议问题