I have put the following in AndroidManifest.xml
as described in the article:
<application android:name="MyApp" ... android:installLocation="auto">
...
</application>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8" />
but the Move to SD card
is remaining disabled for my application (other installed applications on my phone can be successfully moved to SD card). What's wrong with it?
Developer Choice. Developers of Android apps need to explicitly make their apps available to move to the SD card using the “android:installLocation” attribute in the <manifest> element of their app. If they don't, the option to “Move to SD card” is grayed out.
Check if your SD card is recognized. If the SD card isn't recognized in Settings: Remove and reinsert the SD card. If the SD card is recognized in Settings but not in Files by Google: The SD card may be formatted as internal storage. Learn how to format an SD card as a portable storage.
Just tried this. You have the line inside the appliction tag. Agreed it doesn't work. The article shows it as part of the manifest tag like:
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nbt.keypad"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto">
Then it works for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With