Google Play 64位要求问题,即使我提供了64位apk

问题描述 投票:0回答:1

早安,

我过去3天三夜都对此问题进行了研究,但是每当我在Google Play商店中上传android应用程序捆绑包时,却收到64位要求错误的评论。我的应用程序捆绑包完全基于Java / Kotlin,具有本机支持因为某些第三方对此有依赖性。我在gradle文件中包括了对所有体系结构armeabi-v7a,arm64-v8a,x86,x86_64的支持,还为abi启用了拆分。

[创建签名的应用程序包时,在分析器中它显示了其中的所有本机支持库(lib文件夹中armeabi-v7a,arm64-v8a,x86,x86_64下的.so文件)。

以下APK或应用捆绑包可用于64位设备,但它们只有32位本机代码:21。即使我已经为32/64位本机代码添加了依赖性。

这里是Android App Bundles属性https://ibb.co/j66wn4S

我已添加的分级配置:

buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' }
    }
    dependencies {
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.1'
    }
}
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'

repositories {
    maven { url 'https://maven.google.com' }
}
apply plugin: 'com.android.application'
android {
    compileSdkVersion 28
    buildToolsVersion '28.0.3'

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    defaultConfig {
        applicationId "com.application.name"
        minSdkVersion 22
        targetSdkVersion 28
        versionCode 74
        versionName "3.1"
        ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', "armeabi"
        renderscriptTargetApi 16
        renderscriptSupportModeEnabled true
        multiDexEnabled true
        manifestPlaceholders = [onesignal_app_id               : "393938b0-6a12-4c4b-ade4-fa22c11840b6",
                                // Project number pulled from dashboard, local value is ignored.
                                onesignal_google_project_number: "REMOTE"]
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    dexOptions {
        javaMaxHeapSize "4g"
    }
}
dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:customtabs:28.0.0'
    implementation 'com.android.support:animated-vector-drawable:28.0.0'
    implementation 'com.android.support:support-media-compat:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'
    implementation 'com.mcxiaoke.volley:library-aar:1.0.0'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.google.firebase:firebase-ads:17.1.3'
    implementation 'com.github.kanytu:android-parallax-listview:v1.1'
    implementation 'com.koushikdutta.ion:ion:2.2.1'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'jp.wasabeef:blurry:2.1.1'
    implementation 'com.onesignal:OneSignal:3.10.6'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.irozon.sneaker:sneaker:1.0.1'
    implementation 'com.github.bumptech.glide:glide:4.8.0'
    implementation 'com.android.support:support-v4:28.0.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    implementation 'com.daimajia.easing:library:2.0@aar'
    implementation 'com.daimajia.androidanimations:library:2.3@aar'
    implementation 'org.greenrobot:eventbus:3.1.1'
    implementation 'com.jakewharton:butterknife:8.8.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
    implementation 'com.google.android.exoplayer:exoplayer:2.8.4'
    implementation 'pl.bclogic:pulsator4droid:1.0.3'
    implementation 'com.github.yehiahd:FastSave-Android:1.0.6'
    implementation 'de.mrmaffen:vlc-android-sdk:2.0.6'
    implementation 'com.devbrackets.android:exomedia:4.3.0'
    testImplementation 'junit:junit:4.12'
    implementation 'com.jaeger.statusbarutil:library:1.5.1'
}
repositories {
    mavenCentral()
    maven {
        url "https://jitpack.io"
    }
    flatDir {
        dirs 'libx'
    }
}
apply plugin: 'com.google.gms.google-services'

android android-studio 64-bit x86-64 32bit-64bit
1个回答
0
投票
libiomx.13.solibiomx.14.soarm64-v8a中似乎不存在。

您将需要从armeabi-v7a中删除它们或为arm64-v8a提供它们。

armeabi-v7aarm64-v8a的目录列表必须相同。

© www.soinside.com 2019 - 2024. All rights reserved.