Ваше устройство несовместимо с этой версией - отображается на всех устройствах - PullRequest
0 голосов
/ 12 июля 2020

Я недавно загрузил свою игру в игровой магазин. Игра отлично работает на моем мобильном телефоне. но я попытался установить его на мобильные телефоны моих друзей (3-4), он дает ошибку ниже. Ваше устройство несовместимо с этой версией. Вот мой android манифест

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <meta-data
        android:name="com.google.android.gms.ads.APPLICATION_ID"
        android:value="ca-app-pub-8853085470060311~2582555526"/>
    <service
        android:name="com.ak.fulligola.MusicService"
        android:enabled="true" />
    <activity android:name="com.ak.fulligola.HomePage">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name="com.ak.fulligola.MainActivity" />
    <activity android:name="com.ak.fulligola.CharacterSelection" />

    <meta-data
        android:name="preloaded_fonts"
        android:resource="@array/preloaded_fonts" />
</application>

Ниже мой build.gradle

android {
    compileSdkVersion 29

defaultConfig {
    applicationId "com.ak.fulligola"
    minSdkVersion 28
    targetSdkVersion 29
    versionCode 2
    versionName "2.0"

    testInstrumentationRunner "androidx.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'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation 'com.google.android.gms:play-services-ads:19.2.0'
}

Пожалуйста, помогите решать. Также в моей игре есть реклама. так что мне нужно предоставить разрешение inte rnet .?

1 Ответ

0 голосов
/ 12 июля 2020

Ваше приложение поддерживает только Android P ie (9) и Android Q (10). Для поддержки большого количества устройств измените minSdkVersion на 23 и обновите целевую версию до последней доступной, например 30.

Да, для показа рекламы требуется разрешение Inte rnet.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...