PlayStore - 以下 APK 或应用程序包可在 64 位设备上使用,但只有本机 32 位代码:1
PlayStore -The following APKs or app bundles are available on 64-bit devices, but have only native 32-bit code: 1
我正在更新我们的原生 Android 应用之一,当我将 apk(或捆绑包上传到 Play 商店时,我收到以下消息
我没有使用任何本机第 3 方库,我的 apk 也不包含 lib 文件夹
这是我的buid.gradle
供参考
buildscript {
...
}
android {
compileSdkVersion 29
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "xx.xxx.xxxxx"
minSdkVersion 19
targetSdkVersion 29
versionCode 9
versionName '1.3'
multiDexEnabled true
}
dependencies {
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.gms:play-services-vision:19.0.0'
implementation 'com.google.firebase:firebase-analytics:17.2.1'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.edwardvanraak:MaterialBarcodeScanner:0.0.6-ALPHA'
compile('it.sephiroth.android.library.horizontallistview:hlistview:1.2.2') {
exclude group: 'com.android.support', module: 'support-v4'
}
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.mcxiaoke.volley:library:1.0.19'
// Google Play Services
compile('com.github.johnkil.android-robototextview:robototextview:4.0.0') {
exclude group: 'com.android.support', module: 'appcompat-v7'
}
compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true
}
apply plugin: 'com.google.gms.google-services'
}
问题不是由任何本机依赖项引起的,因为我的项目没有 one.I 通过禁用仅支持 32 位架构的 GooglePlay 上的旧版本来解决问题。
我正在更新我们的原生 Android 应用之一,当我将 apk(或捆绑包上传到 Play 商店时,我收到以下消息
我没有使用任何本机第 3 方库,我的 apk 也不包含 lib 文件夹
这是我的buid.gradle
供参考
buildscript {
...
}
android {
compileSdkVersion 29
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "xx.xxx.xxxxx"
minSdkVersion 19
targetSdkVersion 29
versionCode 9
versionName '1.3'
multiDexEnabled true
}
dependencies {
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.gms:play-services-vision:19.0.0'
implementation 'com.google.firebase:firebase-analytics:17.2.1'
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.edwardvanraak:MaterialBarcodeScanner:0.0.6-ALPHA'
compile('it.sephiroth.android.library.horizontallistview:hlistview:1.2.2') {
exclude group: 'com.android.support', module: 'support-v4'
}
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.mcxiaoke.volley:library:1.0.19'
// Google Play Services
compile('com.github.johnkil.android-robototextview:robototextview:4.0.0') {
exclude group: 'com.android.support', module: 'appcompat-v7'
}
compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true
}
apply plugin: 'com.google.gms.google-services'
}
问题不是由任何本机依赖项引起的,因为我的项目没有 one.I 通过禁用仅支持 32 位架构的 GooglePlay 上的旧版本来解决问题。