Why is my app not compatible with some devices on Google play?

Asked

Viewed 1,966 times

2

I posted an app on google play, but unfortunately it’s not available for some of my devices. I am very confused, because in the development with Eclipse, I used the same devices for testing and they work perfectly. Is there any configuration missing to be compatible in Google play?

My Manifest:

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

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="19" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.google.android.providers.gmail.permission.READ_GMAIL" />
<uses-permission android:name="com.google.android.gm.permission.READ_GMAIL" />

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

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <activity
        android:name="com.mgoficina.SplashActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light.NoActionBar" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name="com.mgoficina.NovaActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.MainActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.FormBuscaActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.SearchActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.SingleActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.SingleActivityEdit"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.ListaTrabalhosActivity"
        android:label="@string/title_activity_lista_trabalhos"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.NovaOsActivity"
        android:label="@string/title_activity_nova_os"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.FechaLoteActivity"
        android:label="@string/title_activity_fechar_lote"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.DefinicoesActivity"
        android:label="@string/definicoes"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>

    <service android:name="com.mgoficina.ExportaService" >
        <intent-filter>
            <action android:name="MGO_INICIAR_EXPORTACAO" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </service>
    <service android:name="com.mgoficina.FechaLoteService" >
        <intent-filter>
            <action android:name="MGO_FECHAR_LOTE" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </service>
    <service android:name="com.mgoficina.BackupService" >
        <intent-filter>
            <action android:name="MGO_RESPOSTA" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </service>

    <activity
        android:name="com.mgoficina.UserActivity"
        android:label="@string/dados_usuario"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.RecuperaDadosActivity"
        android:label="@string/title_activity_recupera_dados"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.PerfilActivity"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>

    <service android:name="com.mgoficina.DeletaService" >
        <intent-filter>
            <action android:name="MGO_DELETA" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </service>

    <activity
        android:name="com.mgoficina.BemVindoActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light.NoActionBar" >
    </activity>
    <activity
        android:name="com.mgoficina.SobreActivity"
        android:label="@string/sobre"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light.NoActionBar" >
    </activity>
    <activity
        android:name="com.mgoficina.ClientesActivity"
        android:label="@string/title_activity_clientes"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.Sherlock.Light" >
    </activity>
    <activity
        android:name="com.mgoficina.CameraActivity"
        android:label="@string/title_activity_camera" >
    </activity>
    <activity
        android:name="com.mgoficina.ServidorActivity"
        android:label="@string/title_activity_servidor" >
    </activity>

</application>

  • What kind of device? Would be a tablet? Also, appears some warning in the session OPTIMIZATION TIPS? In the upload, came to see if had any option to delete devices?

  • In my case @Wakim, are Smartphones, and in the tip appears "Design your app for tablets" and upload had yes option to delete, but not delete none. I wonder why I’m using SDK 2.3?

  • @Emersonbarcellos if you just post your "manifest"? Maybe it will help

  • OK @Guilhermenascimento I will update my question, thank you!

  • 1

    I know it’s my only kick, but here <uses-feature&#xA; android:name="android.hardware.camera"&#xA; android:required="false" /> you put as not required, but here is probably required <uses-feature android:name="android.hardware.camera.autofocus" /> I believe that maybe the property android:required="false" should be set on all camera related. It’s just a kick

  • 1

    My friend @Guilhermenascimento first, this is not a kick, but a tip and every tip is very welcome. And I want to tell you that with this "kick", 2066 devices were added. Thank you very much Dude, I think this is the way. I regard that answer as valid.

Show 1 more comment

1 answer

3


You are using in this the camera feature as not required:

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

But camera focus feature was not set to false, Googleplay probably assumes as true, in this line:

<uses-feature android:name="android.hardware.camera.autofocus" />

It is likely that both must possess android:required="false":

<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
  • Gracias. Solved my problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.