Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot move an app to the SD card

I am not able to move my own application to the SD card.

My corresponding parts of manifest are as below (I am pasting also what permissions it needs).

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
    android:installLocation="preferExternal"
    android:label="@string/app_name" >

<uses-sdk
    android:minSdkVersion="6"
    android:targetSdkVersion="9" />

I believe I followed guidelines described here: http://developer.android.com/guide/topics/data/install-location.html (compatibility and pemissions). However, during installation (from SDK but also from Android Market) applications lands on internal storage, and I can't move it using "Manage Applications".

like image 345
bluszcz Avatar asked Jul 30 '12 14:07

bluszcz


People also ask

Can't move any apps to SD card?

Our phones can often experience temporary glitches and not recognize the SD card. In such cases, try restarting your phone before attempting to move the app to the SD card. If that doesn't work, remove the card from your phone, wait a few minutes, and insert it back in.

Why can't I move anything to my SD card?

If there is no free space on your SD card, it is impossible for you to move any file to it. This is why you need to first ensure if your SD card has enough space or not. You can also try to move one file first, and if you are successful in doing so then you can move the other files in small parts.

Why when I move an app to an SD card doesn't it free up memory?

Why do the apps I put on my SD Card move back to my phone storage when phone is turned off and on? Google play store cannot update apps on the SD card as SD cards are too slow so when an app is updated it is updated to internal memory making it look like they have moved on their own.


2 Answers

try this...

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="preferExternal"
    package="your.package.name"
    android:versionCode="1"
    android:versionName="1.0" >
...
...
like image 142
Mohsin Naeem Avatar answered Sep 16 '22 20:09

Mohsin Naeem


You need to include android:installLocation="auto" in your <manifest> tag

like image 26
magritte Avatar answered Sep 16 '22 20:09

magritte