簡體   English   中英

Google Play 64 位要求

[英]Google Play 64-bit requirement

我正在嘗試向我的應用程序提交更新,在上傳Android 應用程序包后,我收到此錯誤消息:

在此處輸入圖片說明

在分析了Android App bundle之后,我已經閱讀了文檔並遵循了所有步驟:

在此處輸入圖片說明

我的應用程序是一個照片編輯器應用程序,純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但仍然收到相同的錯誤消息,盡管我看到我的應用程序支持所有原生平台:

在此處輸入圖片說明

任何人都可以幫我解決這個問題嗎?,我花了將近 1 周的時間向我的應用程序提交更新,但沒有成功。

更新:

我在 3 天前聯系過谷歌,他們說:感謝您聯系 Google Play 開發者支持,報告您在 App Bundle 中看到的行為被標記為 64 合規性。 我已記錄您的問題並將其上報給我們的技術團隊以進行進一步調查。 我們的團隊正在努力盡快為您解決此問題。 感謝您的耐心等待,我會在有更新時通知您。 如果您在此期間有任何其他問題,請告訴我。

最后,在這種情況下停留 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"
    }

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM