如何默认将Android应用程序安装到SD卡

Ahm*_*waz 1 android adb

我正在按照本教程将应用程序移动到SD卡.

如何默认将Android应用程序安装到SD卡

但我的默认位置没有变化.并且我的手机内存已满,无法安装新应用.

小智 15

Android Tools Update命令adb shell pm setInstallLocation 2更改为后adb shell pm set-install-location 2 (注意命令区分大小写)

可以在此处创建更新的教程.


Nir*_*ara 5

安卓的installLocation = "preferExternal"

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.fpm"
    android:versionCode="1"
    android:versionName="1.0"
  android:installLocation="preferExternal"
     >
Run Code Online (Sandbox Code Playgroud)

Refrence