我已将我的应用上传到Play商店,但未显示某些设备

时间:2020-05-04 05:33:44

标签: android build.gradle

以下是应用中的二手物品

minSdkVersion 19, targetSdkVersion 29

低于8.0.0版本:在Play商店中不可见; 8.0.0版本:只有这个版本的手机才能在Play商店中看到; 8.0.0以上版本:在Play商店中不可见;

我已经迁移到AndroidX

在拒绝了应用程序之后(由于应用程序发送了短信和通话许可),我删除了这些选项,然后再次重新上传了我的应用程序以播放商店

现在应用程序处于实时状态,但是当我搜索应用程序(Lifeonplus)时,除8.0.0版本的电话外,其他均未显示。请帮我解决这个问题。我哪里出问题了?应用程式应显示4.4以上版本

构建gradle和类路径

 buildscript {
    repositories {
        google()
        jcenter()

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.3'

        // 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
}

型号:应用

apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    buildToolsVersion "29.0.2"
    useLibrary 'org.apache.http.legacy'
    defaultConfig {
        applicationId "com.digital.lifeonplus"
        minSdkVersion 19
        targetSdkVersion 29
        versionCode 7
        versionName "1.0.6"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation 'com.android.volley:volley:1.1.1'
    implementation 'com.github.bumptech.glide:glide:4.9.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'
    implementation 'com.karumi:dexter:4.2.0'
    implementation 'info.androidhive:barcode-reader:1.1.5'
    implementation 'com.google.android.gms:play-services-vision:11.4.0'
    implementation 'com.budiyev.android:code-scanner:2.1.0'
    implementation 'com.github.clans:fab:1.6.4'
    implementation 'de.hdodenhof:circleimageview:3.0.0'
    implementation 'com.loopj.android:android-async-http:1.4.9'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    //Apache httpclient-android library
    implementation group: 'org.apache.httpcomponents', name: 'httpclient-android', version: '4.3.5.1'

    //Excluding httpclient since it is already part of httpclient-android
    implementation('org.apache.httpcomponents:httpmime:4.3') {
        exclude module: "httpclient"
    }
    implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.0'
    implementation 'androidx.preference:preference:1.1.0'
}

1 个答案:

答案 0 :(得分:0)

最后我得到了自己的问题的答案,我使用了要求为true的NFC硬件功能,因此在此之后我将其更改为false,它显示了所有手机

<uses-feature
        android:name="android.hardware.nfc"
        android:required="false" />