Game still not visible to newer android then 2.2 - android

My manifest file is updated now and it looks like this.But its still not visible or not compatible on google play for newer android then 2.2.But i have tested it on 4.0 and its work.
Here is my manifest.Please help
android:versionCode="4"
android:versionName="1" >
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15"/>
<uses-permission android:name="android.permission.WAKE_LOCK" android:required="false"/>
<supports-screens
android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>

Remove the android:required="false" from the uses-permission tag.
You're not supposed to place this inside a permission tag, but in a uses-feature tag...
Anyway, WAKE_LOCK will not need any required declaration:
<uses-permission android:name="android.permission.WAKE_LOCK" />

Related

Publishing android app: This app is incompatible with all of your devices

Publishing and Android app I can see the app in the market but I everyone is watching this text
This app is incompatible with all of your devices.
Here is the permissions and features of my manifest
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
and from gradle.build
minSdkVersion 16
targetSdkVersion 21
I dont understand why it doesnt show supported phones.
Thank you
Do you have a supports-screens tag in your AndroidManifest.xml ? If not, try adding this:
<supports-screens android:resizeable="true" android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
The problem was one of the dependencies imported in gradle.
compile 'org.apache.directory.studio:org.apache.commons.codec:1.8'
We replaced with this
commons-codec:commons-codec:1.8
And the application became available for all the devices.

Android Can't download alpha app to nexus 7

I'm testing an android application through the testing services on google play. Now I can't download it to a nexus 7. It says `Your device isn't compatible with the version! I've looked into the issue and it's apparently something to do with my permissions in my Manifest file, from what I've read it's to do with the camera feature. Now I don't use this feature on my applicaiton so I'm assuming it's because I'm using a different permission of feature on the application. Below is my manifest file:
<permission android:name="com.test.hearing.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
<uses-permission android:name="com.test.hearing.permission.MAPS_RECEIVE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<supports-screens
android:anyDensity="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:resizeable="true" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19"/>
Any help on this issue would be gladly appreciated, thanks in advance.
You are requesting the CALL_PHONE permission. this will automatically require all devices to have a telephony feature.
add the following to your manifest.
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />

Get app visible for tablets in Play store

I have the below manifest for my app, when I have uploaded this app to the play store for some reason it is not visible for tablets.
What do I need to change to do this?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="3"
android:versionName="1.0.2" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<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.ACCESS_WIFI_STATE" />
Try adding this to your manifest
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true" />
set uses feature required false in your manifest file
because some features are not supported by android tablets
for Example:
<uses-feature android:name="android.hardware.telephony" android:required="false" />
while uploading to Google play it shows a yellow warning bubble next to your apk what message you are getting there?

APK not compatybile with tablets

I'm trying to publish the app for any device. I assume, that there is something AndroidManifest.xml that causing it to not being available for tablets, but I can't figure out what.
Here is the fragment that could cause troubles:
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE" android:required="false"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"/>
<permission
android:name="pl.wirtuale.vtk.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="pl.wirtuale.vtk.permission.C2D_MESSAGE" />
I marked CALL_PHONE as not required but still the app is not available for tablets. What else could cause it?
that is not how you say something is required or not. to not require the telephone you do this
<uses-feature android:name="android.hardware.telephony"
android:required="false"/>
also if you want to support everything you dont need to have all this stuff
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"/>
you can just delete it, all screen sizes will be compatible. You only use that when you want to exclude certain sizes

Optimize for Tablets

I am creating an app which I want to have support for Tablets as well. I have followed the steps discussed on developer.android.com as well as many questions in SO. I am not able to get my head around as to why Play Store is still reporting that
Your Production APK needs to meet the following criteria:
Any required hardware features are normally available on tablets.
My Manifest file has the following declarations
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />
<uses-permission
android:name="android.permission.READ_SMS" android:required="true" />
<uses-permission
android:name="android.permission.READ_CONTACTS" android:required="true" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:xlargeScreens="true" />
<uses-feature
android:name="android.hardware.telephony" android:required="true" />
Since my app uses Telephony features, I have marked the required attribute as true here. If anyone has faced a similar problem and able to get it fixed kindly provide inputs.
Tablets don't "normally" have telephony features. They're tablets, not phones. Thus, if you require telephony hardware, then the app won't be presented to tablets which don't have telephony features. This is documented.
Use the code as follows:
uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />
<uses-permission
android:name="android.permission.READ_SMS" android:required="true" />
<uses-permission
android:name="android.permission.READ_CONTACTS" android:required="true" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:xlargeScreens="true" />
<uses-feature
android:name="android.hardware.telephony" android:required="false" />
I have just changed the permission for using feature to requires="false".
By doing this, your app will be available for use and download on the tablet devices having calling feature and not on tablets not having the same.

Categories

Resources