Issue
I am trying to release an update for my Android app that I'm creating with Ionic.
In developer's console, I update my Android Bundle, but it is requiring both the mapping file AND native debug symbols Zip file.
I managed to get Android Studio to generate the mapping file.
However, I can't get Android Studio to generate the native debug symbols.
I'm following THIS guide.
I installed, from the SDK Manager, CMake and NDK (Side by Side)
I added android.defaultConfig.ndk.debugSymbolLevel 'FULL'
to the end of build.gradle (:app)
Then, I sync the build.gradle, build the project and generate the signed bundle, but I just can't get the native-debug-symbols folder under ".../app/build/outputs" as the guide said it would be automatically generate. The only folders I get are apk, logs and mapping
What am I doing wrong? How can I generate these native debug symbols? Why can't I just simply update my app?
Solution
- On the SDK Tools windows:
- Check the "Show Package Details" option
- Expand NDK, find the selected NDK version, and copy the version name
- Open your app build.gradle
- add ndkVersion "Your copied NDK version" under android
Then native debug symbol zip will be added to your AAB file when you build it.
Answered By - Harvey
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.