怎么把应用安装到sd卡中

如何把应用安装到sd卡中manifest xmlns:androidhttp://schemas.android.com/apk/res/androidpackage

如何把应用安装到sd卡中
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.yfz"
      android:installLocation="auto"
      android:versionCode="1"
      android:versionName="1.0">
这个属性设置的是默认安装位置, 共有三个有效值,auto、internalOnly、preferExternal。

auto 表示自动,由系统决定安装位置


internalOnly 安装在手机内存

preferExternal 安装在外部存储中