LoginSignup
3
3

More than 3 years have passed since last update.

Flutterで作ったアンドロイドアプリをリリースするときにGoogle Play Storeから64bit対応していないエラーが出たら

Last updated at Posted at 2019-06-19

1.Gradleに以下のことを追加する

buildTypes {
        release {
            ndk{
                abiFilters 'arm64-v8a'
            }
        }
}

2.以下のコマンドでバンドルファイルapp.aabを生成する

flutter build appbundle

3.まとめ

flutterはデフォルトはarmeabi-v7a(32bit)ためにしかコンパイルしないはず、コンパイルでできたものは基本的には32bitと64bit両方対応するが、Google Play Storeにあげるときに64bitが対応されていないという警告がでる。
arm64-v8a(64bit)を指定して、arm64-v8aのためにコンパイルしたら、64bit対応できて、Google Play Storeからの警告が無くす。

3
3
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
3
3