0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Android Studio / Google Play Console】デバッグシンボル未アップロード警告対策

Posted at

概要

下記のような警告が出たので、その対策方法を解説。

この App Bundle にはネイティブ コードが含まれ、デバッグ シンボルがアップロードされていません。クラッシュや ANR を簡単に分析、デバッグできるよう、シンボル ファイルをアップロードすることをおすすめします。

対策

1. コード修正

app/build.gradleに以下を追加

build.gradle
android {
    buildTypes {
        release {
            ndk {
                debugSymbolLevel = 'SYMBOL_TABLE'
            }
        }
    }
}

2. シンボルファイルのzip化

aabビルド後、以下の場所にシンボルファイルが出力される。

app/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib

下記コマンドでzipファイル化。

cd app/build/intermediates/merged_native_libs/release/out/lib
zip -r native-debug-symbols.zip arm64-v8a armeabi-v7a x86 x86_64

3. Google Play Consoleにアップロード

aabアップロード後、右側のネイティブデバッグシンボル(.zip)をアップロードから、先ほど作成したzipファイルをアップロード。

説明画像.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?