Question

I'm trying to publish an app to Play Store, but when I upload the app, the Nexus 7 and other devices are shown as not compatible. The app should be restricted to tablets, as its interface is not not for phones. I didn't set requirements for hardware not present in Nexus 7 and I support all displays from 600dp up. I found similar questions, but all related to camera or phone permissions... any ideas? This is my manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="it.mypackage.stuff"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="12"
        android:targetSdkVersion="18" />

    <supports-screens android:smallScreens="false"
                      android:normalScreens="false"
                      android:largeScreens="true"
                      android:xlargeScreens="true"
                      android:anyDensity="true"/>

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-feature android:name="android.hardware.telephony" android:required="false"></uses-feature>

<application> Stuff.... </application>
</manifest>
Was it helpful?

Solution

I found the problem and solved it. I felt very stupid when I realized the problem was I weren't incrementing the "versionCode" field in the AndroidManifest.xml. The Android Developer Console shows a strange behaviour: if you upload an apk to an unpublished application without incrementing the versionCode, the apk isn't replaced, and no error is shown. So the apk remains the first one uploaded, and all the changes made in the new apk are lost.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top