kodakodu
kodakodu

Reputation: 11

Google Play doesn't offer app for installation on Nexus 7. How change Android Manifest?

I have published an application on Google Play. All is ok when I install on my Galaxy S3 or any other phone. But when I want to install this app on my Nexus 7, I can't find it on Google Play.

Here is my manifest:

  <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="XX.XX.XX"
    android:versionCode="3"
    android:versionName="1.1" >
    <supports-screens android:largeScreens="true"
                       android:smallScreens="true"
                       android:anyDensity="true"
                       android:xlargeScreens="true"
                       android:normalScreens="true"/>
    <uses-sdk
        android:minSdkVersion="13"
        android:targetSdkVersion="17" />
    <uses-permission android:name="android.permission.CALL_PHONE" android:required="false"></uses-permission>

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >

        <activity android:name="splash"
        android:theme="@android:style/Theme.NoTitleBar">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:theme="@android:style/Theme.Holo.Light.NoActionBar"
            android:name="XX.XX.XX.MainActivity">

        </activity>
                <activity android:name="vocation" android:theme="@android:style/Theme.Holo.Light"></activity>
        <activity android:name="XX" android:theme="@android:style/Theme.Holo.Light"></activity>
        <activity android:name="XX" android:theme="@android:style/Theme.Holo.Light"></activity>
        <activity android:name="XXX" android:theme="@android:style/Theme.Holo.Light"></activity>


</application>

Anyone have an idea ? Thanks a lot

Upvotes: 1

Views: 635

Answers (3)

loveisbug
loveisbug

Reputation: 411

update the uses-permission line:

<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>

add uses-feature:

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

Upvotes: 3

Emanuel Moecklin
Emanuel Moecklin

Reputation: 28856

My guess is that the following permission prevents if from being available for the Nexus 7:

<uses-permission android:name="android.permission.CALL_PHONE" android:required="false"></uses-permission>

The Nexus 7 doesn't have phone capabilities and so it won't be supported. The android:required attribute isn't needed by the way and doesn't do anything (it's ignored by Android).

Upvotes: 0

VinceFR
VinceFR

Reputation: 2571

you must use compatible-screens tag and not supports-screens

Upvotes: -1

Related Questions