I've implemented all the necessary things for "Move To SD card" functionality and the app can be moved to the SD card when launched from Eclipse or if I manually install the .apk file on the phone. However, after I've uploaded the apk to the Market, I've downloaded the app and "Move To SD" button was disabled.
The app is called "[redacted]".
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" >
...
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8" />
What could be wrong with it?
Have you checked that the button isn't grayed out because the app already is on your SD card?
When you declare "preferExternal", you request that your application be installed on the external storage as the default.
set android:installLocation="auto" in manifest
Example
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mamlambo.article.phrasebook" android:versionCode="2" android:versionName="1.0.1"
android:installLocation="auto">
set minimum sdk version as 8. Because this feature is supported in android 2.2
<uses-sdk android:minSdkVersion="8"
There are at least three things to check.
installLocation="auto" in AndroidManifest.xml as you stated above.
Set target sdk version to at least 8
Make sure Copy Protection is OFF in the Android Developer Console, under Product Details
Related
i have written an android app with xamarin.android in visual studio and compiled a release build for android 4.1 and higher. testing directly with my devices works without problems.
after building an apk and uploading it in the play store for a beta test, it says: "app not compatible with your devices". i am pretty sure, that my test devices are not the problem. what could it be??
here is my manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="xxx" android:versionCode="1" android:versionName="1.1" android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="alone" android:icon="#drawable/Icon"></application>
</manifest>
on developer interface it says 10106 supported devices:
any ideas? thanks for your help...
best regards from germany,
steven
I dont use xamarin , but using studio if your gradle hava a different min sdk it will overwrite whatever os on you manifest , check your gradle file .
I added android:minSdkVersion="14 to the manifest of my Android app to only allow Android 4+ devices but Google Play shows that my app Requires Android 1.6 and up. Is there anything wrong with my manifest?
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>]]>
</manifestAdditions>
</android>
I used the Adobe AIR SDK 17 and packaged the app through ADT (command line).
It's a bug on Google Play! (it affects Beta and Alpha apps - I guess your app is in that state?) Check your APK details in the Developer Console for the API level - as long as it's correct your set. It should show the correct API level as soon as you publish the app to production.
I have an Android app already published on Google Play and my manifest.xml has these fields declared:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xxxxxx"
android:versionCode="4"
android:versionName="1.3" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="18"
/>
In this version I'm using a specific library to do something that can works only to 18 API version.
The problem is: I added new features to my app and I want update it on google market but I want to exclude API 19, so I modified my manifest.xml in this way:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xxxxxx"
android:versionCode="5"
android:versionName="1.4" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="18"
android:maxSdkVersion="18"/>
I uploaded my app but I have some errors like:
Can not publish the configuration for the following reasons: A device
that are upgrading from levels in the range of 14-18 API to API levels
in the range of 19 + can not be downgraded from version 5 to version
4. The error occurs in the following cases: Trace output with a more of the following: [ALPHA] and Layout screen with a more of the
following: [small, normal, large, xlarge] and Functions with all of
the following: [android.hardware.screen.PORTRAIT,
android.hardware.TELEPHONY, android.hardware.TOUCHSCREEN]. Some
devices are suitable for running multiple APK. In this scenario, the
device will receive the APK with the highest version number.
Any solutions?
Thank you.
Marco
I'm developing an Android app and I am not able to install it in the SD Card. This is my manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.developfrank.application"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="preferExternal">
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
I use as minimum version required Froyo 2.2 so I don't have any errors about the option installLocation, but at the moment of installing the app, my mobile installs it in the internal memory.
I also have these two permissions, I put it just in case it can give some clues:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
I tried many things and I am a bit lost. Thank you very much for your help
Frank.
I've written a first app for Android with Eclipse. I've published it but I'm noticing that on the app page it doesn't show the Android minimum version supported, you can see it here:
https://market.android.com/details?id=com.yellowhouse.everydayquotes
I've searched in the project files and I've found that in project.properties there is the following line:
target=android-15
is that the correct place to set the Android version? Am I missing something? Why does it not appear on the page? Thanks.
the "target=android-15" that you have is for your emulator or your test device which you want to launch your app with
To answer to your question, you need to set the minSDK version in your android manifest file
like that
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tfe.rma.ciss.be"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
</manifest>
To set the minimum required android version for your app, you need to use uses-sdk element inside your AndroidManifest.xml file:
<manifest ...>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="7"/>
...
</manifest>
Version 4 means Android 1.6. Read up information on android manifest to see the correct sdk version numbers: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html