【发布时间】:2021-07-04 15:43:39
【问题描述】:
我正在尝试以封闭测试模式发布应用程序包,但我不断收到此错误:
我也试过上传release apk,但还是一样的错误
我尝试按照错误末尾的 了解更多 链接,但它似乎唯一要说的是确保有 arm64-v8a 或 x86_64 库,打开 apk 使用android studio 中的分析工具,似乎有可用于 arm64-v8a 或 x86_64 的库
这是应用级别 build.gradle 中配置设置的外观:
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.xyz.xyzapp"
minSdkVersion 23
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// Use code below for production build
// For debug mode you need to comment above lines of code
// Issue with 'libflutter.so'
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86'
}
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release
}
}
}
如何使应用符合 Google Play 64 位要求。
谢谢 问候
【问题讨论】:
标签: flutter android-studio google-play google-play-console