Google Play 64位要求

时间:2019-08-09 11:52:27

标签: java android google-play 64-bit gpuimage

上传 Android应用程序捆绑包后,我试图向我的应用程序提交更新,我收到此错误消息:

enter image description here

在分析了 Android应用捆绑包之后,我已经阅读了documentation并按照所有步骤操作:

enter image description here

我的应用程序是Photo Editor应用程序,使用纯Java,我不使用任何本机代码,但是我使用了一些第三方库,例如

implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'

它支持64位,如上图所示

这是我的Gradle文件:

    android {
        compileSdkVersion 29
        dexOptions {
            preDexLibraries = false
            javaMaxHeapSize "4g"
        }
        defaultConfig {
            applicationId "maa.abc"
            minSdkVersion 18
            targetSdkVersion 29
            versionCode 14
            versionName "1.2.0"
            multiDexEnabled true
            renderscriptTargetApi 28
            renderscriptSupportModeEnabled true
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
            ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' 'armeabi'
        }
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
            debug {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
        packagingOptions {
            exclude 'META-INF/DEPENDENCIES.txt'
            exclude 'META-INF/LICENSE.txt'
            exclude 'META-INF/NOTICE.txt'
            exclude 'META-INF/NOTICE'
            exclude 'META-INF/LICENSE'
            exclude 'META-INF/DEPENDENCIES'
            exclude 'META-INF/notice.txt'
            exclude 'META-INF/license.txt'
            exclude 'META-INF/dependencies.txt'
            exclude 'META-INF/LGPL2.annotations1'
        }
    }

    dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation project(':appintro')
    /*ANDROID*/
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.exifinterface:exifinterface:1.0.0'
    implementation 'com.android.support:support-annotations:28.0.3'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.multidex:multidex:2.0.1'
    annotationProcessor 'androidx.annotation:annotation:1.1.0'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'


    /*PHOTO FILTERS (CONTAINS NATIVE CODE)*/
    implementation 'cn.ezandroid:EZFilter:2.0.9'
    implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'

    /*ANIMATION*/
    implementation 'com.daimajia.easing:library:2.0@aar'
    implementation 'com.daimajia.androidanimations:library:2.3@aar'

    /*GLIDE*/
    annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
    implementation 'com.github.bumptech.glide:glide:4.9.0'


    /*PICK IMAGE /TAKE PICTURE*/
    implementation 'com.github.jkwiecien:EasyImage:1.3.1'

    /*TEST IMPLEMENTATION*/
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    testImplementation 'junit:junit:4.12'


    /*VIEWS*/
    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
    implementation 'de.hdodenhof:circleimageview:3.0.0'
    implementation 'com.alexvasilkov:gesture-views:2.5.2'
    implementation('com.github.christophesmet:android_maskable_layout:v1.3.1') {
        exclude group: 'com.intellij', module: 'annotations'
    }
    implementation 'com.h6ah4i.android.widget.verticalseekbar:verticalseekbar:1.0.0'
    implementation 'com.github.duanhong169:checkerboarddrawable:1.0.2'


    /*FIREBASE*/
    implementation "com.google.firebase:firebase-core:17.0.1"
    implementation "com.google.firebase:firebase-storage:18.1.1"
    implementation 'com.google.firebase:firebase-database:18.0.1'
    implementation 'com.firebaseui:firebase-ui-database:5.0.0'

    /*HELPER*/
    implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
    implementation 'org.apache.commons:commons-collections4:4.3'
    implementation 'com.github.nanchen2251:CompressHelper:1.0.5'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation(group: 'uz.shift', name: 'colorpicker', version: '0.5', ext: 'aar')

    /*CHANGING FONT*/
    implementation 'io.github.inflationx:viewpump:2.0.2'
    implementation 'io.github.inflationx:calligraphy3:3.1.1'
}
    apply plugin: 'com.google.gms.google-services'

使用此cmd,我可以在手机上成功安装我的应用程序:

# A successful install:
> adb install --abi armeabi-v7a YOUR_APK_FILE.apk
Success

我尝试上传 .APK ,但仍然收到相同的错误消息,尽管我看到我的应用程序支持所有本机平台:

enter image description here

任何人都可以帮助我解决此问题吗?我花了将近1周的时间向我的应用提交更新,但没有成功。

更新:

我在3天前已与Google联系,他们说: 感谢您与Google Play开发者支持联系,以报告您将App Bundle标记为符合64合规性时所看到的行为。 我们已记录了您的问题,并将其上报给我们的技术团队进行进一步调查。我们的团队正在努力为您尽快解决此问题。 多谢您的耐心配合,我会在更新时通知您。 如果在此期间还有其他疑问,请告诉我。

1 个答案:

答案 0 :(得分:1)

最后,在这种情况下停留1周后,问题出在 RenderScript .bc 文件中,我删除了所有 .bc 文件从项目中删除,也删除了这些行。

renderscriptTargetApi 28
renderscriptSupportModeEnabled true

这是我最后的Gradle:

 compileSdkVersion 29
    buildToolsVersion "29.0.0"
    dexOptions {
        preDexLibraries = false
        javaMaxHeapSize "4g"
    }
    defaultConfig {
        applicationId "maa.abc"
        minSdkVersion 18
        targetSdkVersion 29
        versionCode 19
        versionName "1.9"
        ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
        multiDexEnabled true
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }