0

Android Tablet - Your Device isn't compatible with this version

I have my android app published in google play store with considerable number of installations. Recently i have released a new version(Update).

For Mobile device users everything was fine. They were able to update / install the latest version without any issues.

The problem is with Tablet Users - After this update the tablet device users were unable to install the latest version of my app from google play store. The installation screen shows Your device isn't compatible with this version error message for new tablet users(Attached Screenshot for reference).

For existing tablet users the update is not available , they are still using the previous version.

I have searched for solutions and tried the most common solutions posted in the internet. I already tried the below solutions and none of them fixed the issue

  1. Restarting Device
  2. Clear cache & Clear Data of Google Play Store App
  3. Uninstall Google play updates
  4. Updating the Android OS
  5. Clear cache & Clear Data of Google Services Framework
  6. Side loading the app (Downloading the APK file using a browser from other place like google drive) - This one works but still i need my app available for tablet users in Google play store.

Below are some of the key changes i have made in the application code in the new build

  • In this update i have Migrated to AndroidX.

  • In this update, i have updated to Java 11.

My Project Level Gradle File :

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.4'
        classpath 'com.google.gms:google-services:4.3.10'
    }
}
allprojects {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io"}
        maven { url "https://maven.google.com" }
    }
}

My Application Level Gradle File :

apply plugin: 'com.android.application'
android {

    lintOptions {abortOnError false}
    
    compileSdkVersion 29

    //buildToolsVersion '27.0.3'
    //buildToolsVersion '25.0.0'

    useLibrary 'org.apache.http.legacy'

    defaultConfig {

        applicationId "app id here"

        versionCode "version code here"

        versionName "version name here"

        minSdkVersion 21

        targetSdkVersion 31

        multiDexEnabled true

        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }    
    }

    dexOptions {
        javaMaxHeapSize "2g"
    }

    buildTypes {
        release {
            minifyEnabled true       
        }     
    }
    

    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
    }

    sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
}

dependencies {

    implementation files('libs/picasso-2.5.2.jar')

    implementation files('libs/radial-menu-v4.jar')

    implementation files('libs/YouTubeAndroidPlayerApi.jar')

/** 
    compile('abbi.io:abbisdk:+')
    {
        exclude module: 'support-v4'
        exclude module: 'appcompat-v7'
    }
**/

    implementation 'androidx.appcompat:appcompat:1.0.0'

    implementation 'androidx.legacy:legacy-support-v4:1.0.0'

    implementation 'com.google.android.gms:play-services-base:15.0.0'

    implementation 'com.google.android.gms:play-services-maps:15.0.0'

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

    implementation 'com.google.android.gms:play-services-auth:15.0.0'

    implementation 'com.facebook.android:facebook-android-sdk:4.+'

    implementation 'com.github.QuadFlask:colorpicker:0.0.10'

    implementation 'com.github.clans:fab:1.6.3'

    implementation 'androidx.cardview:cardview:1.0.0'

    implementation 'androidx.recyclerview:recyclerview:1.0.0'

    implementation 'androidx.constraintlayout:constraintlayout:2.1.0'

    implementation 'com.github.devlight:infinitecycleviewpager:1.0.2'

    implementation 'com.github.arimorty:floatingsearchview:2.0.3'

    implementation 'com.androidadvance:topsnackbar:1.1.1'

    implementation 'com.google.maps.android:android-maps-utils:0.5'

    implementation 'io.branch.sdk.android:library:4.3.0' 

    implementation 'androidx.browser:browser:1.0.0'

    implementation 'com.google.android.gms:play-services-ads:15.0.0' 

    //compile 'com.google.android.gms:play-services-appindexing:9.0.0' 

    implementation 'com.google.firebase:firebase-appindexing:15.0.0'

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

    implementation 'com.google.android.material:material:1.0.0'

    implementation 'com.squareup.retrofit2:retrofit:2.3.0'

    implementation 'com.squareup.retrofit2:converter-gson:2.3.0'

    implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'

    //compile 'abbi.io:abbisdk:+'

    implementation 'com.google.code.gson:gson:2.8.0'

    implementation 'androidx.multidex:multidex:2.0.0'

    //implementation 'com.google.android.gms:play-services-places:11.4.0'

    implementation 'com.elconfidencial.bubbleshowcase:bubbleshowcase:1.3.1'

    implementation 'com.getkeepsafe.taptargetview:taptargetview:1.13.3'
   
    implementation 'com.wdullaer:materialdatetimepicker:3.6.4'

    implementation 'com.google.code.gson:gson:2.8.5'

    implementation 'com.google.android.libraries.places:places:1.1.0'

    testImplementation 'junit:junit:4.12'

    testImplementation 'org.mockito:mockito-core:1.10.19'

    implementation 'fr.bmartel:jspeedtest:1.32.1'

    implementation 'com.facebook.spectrum:spectrum-default:1.1.0+'

    //BEGIN AWS DEPENDENCIES
    def aws_version = "2.16.+"

    implementation "com.amazonaws:aws-android-sdk-s3:$aws_version"

    implementation "com.amazonaws:aws-android-sdk-sqs:$aws_version"

    implementation ("com.amazonaws:aws-android-sdk-mobile-client:$aws_version") { transitive = true }

    implementation 'info.hoang8f:android-segmented:1.0.6'

    implementation 'de.hdodenhof:circleimageview:3.1.0' 
   
    implementation 'com.github.barteksc:android-pdf-viewer:2.8.2' 

    implementation 'org.apache.httpcomponents:httpcore:4.4.1'

    implementation 'org.apache.httpcomponents:httpclient:4.5'

    implementation 'org.apache.commons:commons-lang3:3.12.0'
}

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

Note :

  • I'm still using java language for my coding.

  • My Application is working fine for mobile users with Android 13 also.

0 Answers0