在这里,我可以在构建gradle中通过Android体系结构分发APK 。我正在使用ndk abiFilters并在生成/构建发行版APK并获得7种不同的APK架构后溢出了APK。
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.XXX.XXXXX"
minSdkVersion 17
targetSdkVersion 27
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi", "armeabi-v8a", "x86", "mips"
}
multiDexEnabled true
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath false
}
}
}
flavorDimensions "default"
splits {
abi {
enable true
reset()
include "armeabi", "armeabi-v7a", "armeabi-v8a", "x86", "x86_64", "mips", "mips64"
universalApk false
}
}
Run Code Online (Sandbox Code Playgroud)
如何在Playstore上载所有7种不同的APK,以及如何管理所有这些APK。
感谢您的帮助。