I have had four updates of one of my apps modifying the AndroidManifest.xml
for if I manage to get "application compatible with all your devices" in the tab and I am not successful in the app tab .
I have the following devices
- EEpad TF101 (ICE_CREAM_SANDWICH)
- ACER LIQUID Z200 (KITKAT)
- MOTO G (Lollipop)
Update
I have downloaded an SDKmin version, removed support-screen
andandroid:supportsRtl
I define the API for API 14+ devices In all of them I can install it through AndroidStudio
but in the google play tab, I get that it is not compatible with any device.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="pro.caminsderonda.app.caminsderonda"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:name="pro.caminsderonda.app.caminsderonda.MyApplication"
android:allowBackup="true"
android:fullBackupContent="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name="pro.caminsderonda.app.caminsderonda.SplashActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleInstance"
android:theme="@style/AppTheme.SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="pro.caminsderonda.app.caminsderonda.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="caminsderonda.wordpress.com"
android:pathPrefix="/"
android:scheme="https" />
</intent-filter>
</activity>
<activity
android:name="pro.caminsderonda.app.caminsderonda.DetailedActivity"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="pro.caminsderonda.app.caminsderonda.SettingsActivity"
android:label="@string/settings_activity_title" />
<activity
android:name="pro.caminsderonda.app.caminsderonda.AboutActivity"
android:label="@string/about_title_activity"
android:theme="@style/AppTheme.NoActionBar" />
</application>
</manifest>
And in the app.graddle
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId 'app.caminsderonda.pro'
minSdkVersion 14
targetSdkVersion 23
versionCode 214
versionName '2.1.4'
signingConfig signingConfigs.config
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'eu.the4thfloor.volley:com.android.volley:2015.05.28'
compile 'com.android.support:palette-v7:23.4.0'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.android.support:support-v4:23.4.0'
}
Inside the console in the device compatibility section
Compatible: 10685
I have a green check for all my devices, but even so, in the playstore tab that the user sees, I get "This application is not compatible with any of your devices" I have them all associated with the same account.
It would be appreciated for those of you who have a MotoG if you can visit the app file from desktop with your associated account, so you can see if it shows you if it is compatible with your device
Leave me a comment here on how compatibility is notified to you.
UPDATE / SOLVED
I have finally found why it informs me that my devices are not compatible.
If the app is paid, as Google does not allow the same developer to buy it, that message appears.
My last test has been to take out a new one app de pago
, and then put itgratis
While paid: This app is not compatible with any of your devices.
When I have made it FREE: This application is compatible with all your devices.
Thank you all, for the answers, I have marked as correct the one that has offered me the most compatible devices.
Firstly we can rule out that it is because of
minSdkVersion
it since you have it defined as 15 (4.0.3 and up)but I see that you have
android:supportsRtl="true"
supported by api 17 onwards (Android 4.2, 4.2.2)If it is supported at all densities and sizes try removing:
In my case, I don't add
supports-screens
since it's inherent that the app is for any screen density.In the case of including in your
AndroidManifest.xml
elements that use<uses-feature>
, which serves to filter elements that do not meet hardware or software characteristics, they can be marked as "not required", I did not include them at the beginning of my answer since you do not have this type of elements in your manifest.xml, but I'm adding it to document this answer.For example, if you defined the use of Bluetooth and Camera in your application, for certain devices that did not have these characteristics, they would be filtered and you would not be able to find them in the playstore:
but you can define them as "not required" so that devices that do not have these features can use your application:
for more information; https://developer.android.com/guide/topics/manifest/uses-feature-element.html
Update:
Taking a closer look at your AndroidManifest.xml and based on the list of permissions that imply requirements of some Hardware feature
To
ACCESS_WIFI_STATE
add:This means that devices that do not support Wifi will not be filtered by your application.
Some devices do not support some features. Such as a front camera, Wi-Fi access or others. For this reason, always try to include one in your permissions
requiered=false
unless it is 100% necessary for your application to work.Also, check that the SDK numbers in your proguard-android.txt and proguard-rules.pro files match those in your gradle. This should be automatic, but having come from Phonegap, maybe these haven't been updated correctly.
I hope it helps you,
a greeting.