Why is App not compatible with Tablets after update

后端 未结 1 992
囚心锁ツ
囚心锁ツ 2020-12-30 11:41

I have an app that\'s been available for over 2 years, and supported on tablets for as long as tablets have been around. I have an Asus Transformer tablet that I use for tab

相关标签:
1条回答
  • 2020-12-30 12:33

    I contacted Google, and they looked into the issue. There were a combination of issues. First, they said that the switch to the new Developer Console played a part because the old developer console was more lenient. They said that my old manifest file worked in the old Devloper Console, but technically the old manifest file didn't actually specify information for tablets.

    So, I updated my manifest file to this, and now users with tablets are able to access the app in Google Play:

    <?xml version="1.0" encoding="utf-8"?>
    

    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10" />
    
    <compatible-screens>
         <screen android:screenSize="large" android:screenDensity="480" />
         <screen android:screenSize="xlarge" android:screenDensity="480" />
    
        <screen android:screenSize="small" android:screenDensity="ldpi" /> 
        <screen android:screenSize="small" android:screenDensity="mdpi" /> 
        <screen android:screenSize="small" android:screenDensity="hdpi" /> 
        <screen android:screenSize="small" android:screenDensity="xhdpi"/>
    
        <!--all normal size screens -->
        <screen android:screenSize="normal" android:screenDensity="ldpi" />
        <screen android:screenSize="normal" android:screenDensity="mdpi" />
        <screen android:screenSize="normal" android:screenDensity="hdpi" />
        <screen android:screenSize="normal" android:screenDensity="xhdpi" />
    
        <!-- all large size screens -->
        <screen android:screenSize="large" android:screenDensity="ldpi" />
        <screen android:screenSize="large" android:screenDensity="mdpi" />
        <screen android:screenSize="large" android:screenDensity="hdpi" />
        <screen android:screenSize="large" android:screenDensity="xhdpi" />
    
        <!-- all xlarge size screens -->
        <screen android:screenSize="xlarge" android:screenDensity="ldpi" />
        <screen android:screenSize="xlarge" android:screenDensity="mdpi" />
        <screen android:screenSize="xlarge" android:screenDensity="hdpi" />
        <screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
    
        <!-- Special case for Nexus 7 -->
        <screen android:screenSize="large" android:screenDensity="213" />
    
    </compatible-screens>
    
        <application android:icon="@drawable/icon" android:label="@string/app_name">
            <activity android:name=".App"
                      android:label="@string/app_name">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    
        <activity android:name=".Activity1" android:label="Activity1"></activity>
            </application>
    
    </manifest>
    

    In addition, they said to use supports-screens instead of compatible-screens in order to expand compatibility.

    0 讨论(0)
提交回复
热议问题