LoginSignup
1
0

More than 1 year has passed since last update.

Android 外部SDKを使用した場合にreleaseビルドで動作しないとき

Posted at

トラブルシューティング with @Umibows

背景

  • Flutter
  • nativeモジュールは外部のSDKを使用
  • debugビルドだと動く
  • releaseビルドだと動かない

問題

ハード機器との接続において使用した外部SDKが、releaseビルドだと動かない問題に直面。

Solution

buildTypes {
        release {
            signingConfig signingConfigs.release

            shrinkResources false
            minifyEnabled false

            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
1
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
1
0