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
Related
i have written the codes I needed in my androidmanifest file,
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<supports-screens
android:anyDensity="true"
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
I also have dimens files with different screen sizes.
values-w320dp-hdpi-480x800
values-w320dp-hdpi-480x854
values-w320dp-ldpi-240x400
values-w320dp-ldpi-240x432
values-w320dp-mdpi-320x480
values-w360dp-hdpi-720x1280
values-w360dp-xhdpi-720x1280
values-w360dp-xxhdpi-1080x1920
values-w411dp-xxhdpi-1080x1920
values-w411dp-xxxhdpi-1440x2560
values-w411dp-xxxhdpi-1440x2880
values-w480dp-mdpi-480x800
values-w480dp-mdpi-480x854
values-w533dp-hdpi-800x1280
values-w600dp-hdpi-800x1280
values-w600dp-mdpi-600x1024
values-w600dp-xhdpi-1200x1920
values-w768dp-xhdpi-2048x1536
values-w768dp-xhdpi-2560x1800
values-w800dp-mdpi-800x1280
values-w800dp-xhdpi-2560x1600
I can't understand why it works correctly on the tablets. Do I also need to write a code?
When I search my app from a Samsung tab 2 the application is not found, but when searching from other devices like the Galaxy s2 it is found. This app is compatible with some devices. I checked my manifest and permission but it is still incompatible -- Thanks in advance.
This is my manifest:
<uses-sdk android:minSdkVersion="11" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="false" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:required="false"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" android:required="false"/>
<uses-permission android:name="android.permission.INTERNET" android:required="false"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:required="false"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS" android:required="false"/>
<permission android:name="ads.mobisoft.com.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="ads.mobisoft.com.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" android:required="false"/>
<uses-permission android:name="android.permission.CAMERA" android:required="false"/>
It's probably:
android:xlargeScreens="false"
Change that to true
I would comment instead of posting an "answer", but I am missing 4 reputation to do that -.-
So:
I think it is meant for really big screens like TV's, but did you try:
android:xlargeScreens="true"
Maybe the tablet's screen is defined as extra large?
EDIT: Lock at the answer to this question. That might help you a little further
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?
my application from store visible for acer tablet that is android 3.2.1 but it not visible for samsung tab p3100 that is 4.1. What can i do?
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="11" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- This permission will allow us request the connection changes. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- This is required to start our service from BootCompletedIntentReceiver. -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
Its because of android:targetSdkVersion="11". It should be android:targetSdkVersion="16" for that.
Permission android.permission.CAMERA implies requirement of features android.hardware.camera and android.hardware.camera.autofocus. Samsung Galaxy Tab 2 (p3100) doesn't have autofocus. May be it is the reason.
Permissions that Imply Feature Requirements.
SO you can try with adding below line into manifest
<uses-feature android:name="android.hardware.camera" android:required="false" />
I have this issue on Google play. It states the tab on subject is not supported due to file manifest permission.
Those are the permissions and hardware required:
android.permission.INTERNET,
android.permission.ACCESS_COARSE_LOCATION,
android.permission.ACCESS_FINE_LOCATION,
android.permission.ACCESS_LOCATION_EXTRA_COMMANDS,
android.permission.ACCESS_NETWORK_STATE,
android.permission.WRITE_EXTERNAL_STORAGE,
android.permission.READ_EXTERNAL_STORAGE
android.hardware.location,
android.hardware.location.gps,
android.hardware.location.network,
android.hardware.touchscreen
as asked this is the manifest
<supports-screens android:anyDensity="true"
android:smallScreens="true" android:normalScreens="true"
android:largeScreens="true" android:resizeable="true" />
<uses-permission android:name="android.permission.INTERNET" />
<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_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
I don't see anything 'unsupported', can anyone help me?
Thank you
Please add the below code in your Manifest file under <manifest> tag:
<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:resizeable="true" android:anyDensity="true" />
This support tag states that your application is supported for all screen sizes.