android - 什么会影响我的应用程序在商店中的可见性?

标签 android google-play

我最近将 gradle 更新到 3.4.0,在将构建上传到商店时,我收到一条警告消息,告诉我用户将无法看到新构建。

新旧apk唯一的区别就是新apk只有这几个原生平台 原生平台 arm64-v8a、armeabi-v7a、x86、x86_64

而旧的也有 mips abi。

我在上传构建后几个小时后去了商店,但我看不到新构建。

有什么想法吗?!为什么这会影响 apk 从商店中看到,如果它们被弃用...?!

或者问题可能来自其他地方?

编辑

问题是否会因此而产生?

// Butterknife requires Java 8.
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

编辑 2

这是我的整个应用程序级别的 build.gradle

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.29.0'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}

android {

    lintOptions { checkReleaseBuilds false }

    compileSdkVersion 28
    buildToolsVersion '28.0.3'

    signingConfigs {
        releaseSign {
            storeFile file("$rootProject.projectDir/keystore_release.jks")
            storePassword 'xxxxx'
            keyAlias 'xxxx'
            keyPassword 'xxxx'
        }
    }

    // Butterknife requires Java 8.
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        applicationId "com.xxxx.driver"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 27
        versionName "1.0.27"

        renderscriptTargetApi 19
        renderscriptSupportModeEnabled true

        multiDexEnabled true

        splits {
            abi {
                reset()
                include "x86", "armeabi-v7a", "armeabi-v8a", "x86_64", "mips", "mips64"
                universalApk true
            }
        }
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

            signingConfig signingConfigs.releaseSign
        }
    }

    flavorDimensions "default"
    productFlavors {
        beta {
            applicationId "com.xxxx.driver.beta"

            dimension "default"
            resValue "string", "app_name", "Driver Beta"
            resValue "string", "privacy_policy_url", "https://www.xxxxxx"

            buildConfigField "String", "BASE_URL", '"https://xxxxxxx"'
            buildConfigField "Boolean", "IS_BETA", "true"
            buildConfigField "String", "TENANT", '"xxxxx"'

        }
        production {
            applicationId "com.xxxxx.driver"

            dimension "default"
            resValue "string", "app_name", "Driver"
            resValue "string", "privacy_policy_url", "https://www.xxxxx"

            buildConfigField "String", "BASE_URL", '"https://xxxxx"'
            buildConfigField "Boolean", "IS_BETA", "false"
            buildConfigField "String", "TENANT", '"xxxx"'
        }
    }

    packagingOptions {
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/notice'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/license'
        exclude 'META-INF/license.txt'
    }
}

configurations.all {
//    resolutionStrategy {
//        eachDependency { DependencyResolveDetails details ->
//            if (details.requested.group == 'com.android.support' && details.requested.name != 'multidex') {
//                details.useVersion "28.0.0"
//            }
//        }
//    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0-alpha05'

    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'com.google.android.material:material:1.1.0-alpha06'

    implementation 'com.jakewharton:butterknife:10.1.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'

    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'me.grantland:autofittextview:0.2.1'
    implementation 'com.android.volley:volley:1.1.1'
    implementation 'org.greenrobot:eventbus:3.1.1'
    implementation 'com.github.ybq:Android-SpinKit:1.2.0'

    implementation 'com.google.android.gms:play-services-location:16.0.0'

    implementation 'com.crashlytics.sdk.android:crashlytics:2.10.0'

    implementation 'com.google.firebase:firebase-core:16.0.9'
    implementation 'com.google.firebase:firebase-messaging:18.0.0'

    implementation 'androidx.multidex:multidex:2.0.1'

    def work_version = "2.0.1"
    implementation "androidx.work:work-runtime:$work_version"
// Optional - RxJava2 support
    implementation "androidx.work:work-rxjava2:$work_version"

    def futures_version = "1.0.0-beta01"
    implementation "androidx.concurrent:concurrent-futures:$futures_version"

    implementation 'com.github.delight-im:Android-AdvancedWebView:v3.0.0'
}

apply plugin: 'com.google.gms.google-services'

还有我的顶级build.gradle

buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.0'
        classpath 'com.google.gms:google-services:4.2.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

最佳答案

所以我自己想通了。解决方案是,他们的系统有问题。我的应用程序没有任何问题。我给他们发了一封电子邮件,他们在一个多星期后回复了。之后,一切正常。发布此问题几天后,一位同事在使用另一个应用程序时也遇到了此问题,因此如果您碰巧遇到此问题,请给他们发送电子邮件并询问。

关于android - 什么会影响我的应用程序在商店中的可见性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56371980/

相关文章:

android - 无法在 Google Play 上发布的屏幕截图尺寸

按下后退按钮后android线程仍在运行

java - 将日历设置为月中的 X 天

android - 限制在 Google Play 上下载应用程序的访问权限

android - 从 Google Play 商店取消发布 'Time Publishing' 应用

安卓 : Open google play dialog from my app

android - 很难找到发布到 Google Play 商店的应用

java - 在 Android 应用程序中发送/接收短信(作为默认短信应用程序)

android - ImageView setImageURI 在暂停时导致严格模式错误

android - 在 Image Asset Studio 中创建启动器图标时出现 anydpi-v26 问题