Amazon says no device supported for android app - android

i want to publish my android app on amazon but it gives me the error "No device supported". i have defined the minSdkLevel in manifest file.
please give me any solution for that. Here is manifest file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.abc"
android:versionName="1.2.1"
android:versionCode="4">
<uses-sdk android:minSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus"/>
.
.
.
.

I had some issues regarding this on the play and when I was searching for suggestions came across this post that saved my day. Maybe it will help you too

Related

How to filter the supporting android device at the time of publishing the android app?

I had finished my android app. App build version is 4.1.2. Now, i uploaded my apk into google console, it displays more that 4000 supporting devices. I am not sure my app will work on all the 4000 devices or not. My app is developed only for mobile.Can any one guide me how to filter the supporting devices ? Do i need any configuration in manifest file ?
please, look at my manifest file:-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo"
android:versionCode="1"
android:versionName="1.0.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="20" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application>
......
....
<activity
.....
...../>
<application/>
*No need of any changes,the permission which you have given in manifest on that it will calculate the supporting device so better you remove the permissions which are not required and recheck ....it may show the less...
NOTE :Example permissions like:Remove which are not required....
While publishing the apk there is an option for you to see in apk section the list of devices to be supported. You can view the devices supported and exclude them from the list. Pl. refer to the below stack overflow link it provides you all the option
How to restrict android app to specific device make?

How can I publish my Android app with zero permissions when exporting from AIR?

In my application XML I have this descriptor:
<![CDATA[<manifest android:installLocation="auto">
<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch" />
</manifest>]]>
But I can't seem to get rid of the android.permission.INTERNET permission. I tried removing that and making it just:
<uses-permission />
But when it installs it still asks for internet permission.
Does anyone know how to remove all permissions?

App is not listed in Google play store for tablet devices [duplicate]

This question already has answers here:
Why my App is not showing up on tablets in Google Play?
(7 answers)
Closed 3 months ago.
Have published the app on the google play store. Able to download and install on android phones.
But the app is not at all listed in Play store for tablet devices.
i suspect there is something wrong in my manifest file.
contents of the manifest file are
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:xlargeScreens="true"
android:smallScreens="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Please guide me with the changes which i have to make so that the app gets listed on Play Store for Tablet devices.
thanks in advance
There are two reason, I know, why my app doesn't be shown on Play Store.
The device's OS version is lower than you specified using "minsdkversion" on Androidmanifest.xml.
Permission things. If you declared permissions of Phone Call, Camera etc, and Tablet that not have those hardware, Users cannot find my app on Google Play Store for their device.
So, We should add some code to Androidmanifast.xml like below.
<uses-feature
android:name="android.hardware.telephony"
android:required="false" >
</uses-feature>
For more informations, check this Q/A.
,this document and this.
After #Lal's answer i did a simple test. I added the permissions below and upload a simple apk. Manifest is like below.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="com.fingerprints.service.ACCESS_FINGERPRINT_MANAGER" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
I uploaded app to play store and i can install for tablet. Then i removed
<uses-feature android:name="android.hardware.telephony" android:required="false" />
and tried to update play store app and there was a warning that tablets cant download after this update. I took screenshot, may be some one can need this.
and this is details.
After published update, i could not install for tablet.

Why is a specific device marked as 'unsupported' in Google Play Store for Android

Does anyone know how you can see why Google Play Store is marking specific devices for an app you created as 'not compatible' ?
I created an app and one of my testdevices was a GalaxyTab2. On this device all functions of the app are working no problem when you just put the apk on the device using a USB cable/or just downloading it from a website.
However when I upload the app to playstore the GalaxyTab2 is listed as an unsupported device. So GalaxyTab2 users are unable to install the app.
In the Google Play Developer Console you can see an overview of unsupported devices. But it seems that you can't get any info 'why' the device is unsupported.
This currenlty lists 1000 devices. Of these a lot will be unsupported due to the fact that their Android version is too old. But from some devices (like the GalaxyTab 2) I am sure they can and run the apk no problem.
Some lines of my manifest:
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="16" />
Try adding:
<uses-feature android:name="android.hardware.camera.flash" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
To your manifest. Your FLASHLIGHT permission may imply that it is a required feature, and as the Galaxy Tab 2 doesn't have a flash, it'd be incompatible. Same for autofocus, as pointed out by #323go.
The problem can be with the feature requirements for certain permissions.
For example
<uses-permission android:name="android.permission.CAMERA" />
may include the requirement of AutoFocus, so I would try to add
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
to the AndroidManifest.xml.
Also the permission
<uses-permission android:name="android.permission.FLASHLIGHT" />
may include the requirement of flash hardware so I would add
<uses-feature android:name="android.hardware.camera.flash" android:required="false" />
as well.
Here you can find a list that shows all permissions that imply Feature Requirements
http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions
Remove android:allowBackup="true"

App compatibility with Android devices

There is an application which can not be runed on particular devices. I have this in Manifest.xml:
<uses-sdk android:minSdkVersion="8" />
And it works on HTC sensation with Android 4.0, but for some reason it is not compatible with Samsung Galaxy Tablet 2 7.0. (Android 4)
When I upload it in Android market, also I can see that the Tablet is not supported.
I can not understand the reason, can you please let me know why?
Manifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="auto"
package="test.newversion"
android:versionCode="1"
android:versionName="2.0" >
<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:icon="#drawable/app_logo"
android:label="#string/app_name" >
<uses-library android:name="com.google.android.maps" />
</application>
</manifest>
Some permissions implicitly add requirements on the hardware. For example the docu for CAMERA says:
This will automatically enforce the manifest element for all camera features. If you do not require all camera features or can properly operate if a camera is not available, then you must modify your manifest as appropriate in order to install on devices that don't support all camera features.
If you don't need all, add explicit uses-feature elements with android:required="false"
try to give a luck to the following in manifest if not yet added
<supports-screens android:smallScreens="false"
android:normalScreens="true" android:largeScreens="true"
/>
change it according to your criteria
Most likely it is the permissions that are creating a filter which makes the marketplace removes some Tablets.
For e.g. you have the PHONE permissions in your manifest and if the Tablets do not have a phone capability, then they will not be compatible. As Henry suggested, you might look at the uses-feature with the android:required="false".
I suggest you review the AndroidManifest.xml carefully and proceed from there.

Categories

Resources