Search code examples
androidinstallationstoreinternal

When I run app in android studio app store in internal memory.after moving also it doesn't move to sd card


I'm developing an Android app.when i run app in android studio app store in internal memory.after moving also it doesn't move to sdcard and I am not able to install it in the SD Card. This is my manifest:

<?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.clc.encyclopedia" android:versionCode="32"
        android:versionName="23.0" android:installLocation="auto">

        <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />

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 as permissions, I put it just in case it can give some clues:

        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <uses-permission android:name="android.permission.INTERNET"/>
        <uses-permission android:name="android.permission.STORAGE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 

Solution

  • Do your phone SD card have enough space for this application. if have enough space, try: android:installLocation="preferExternal".