Android:如何增加将应用程序移动到外部存储设备的可能性

Android:如何增加将应用程序移动到外部存储设备的可能性,android,storage,skype,Android,Storage,Skype,如何在我的android应用程序中添加将其从应用程序信息(如屏幕截图中的Skype)移动到外部存储的可能性 谢谢您可以在mainfest文件中声明此行 <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" ... > 请参阅,您也可以在清单文件中检查添加以下内容 <manifest xmlns:a

如何在我的android应用程序中添加将其从应用程序信息(如屏幕截图中的Skype)移动到外部存储的可能性


谢谢

您可以在mainfest文件中声明此行

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="preferExternal"
    ... >

请参阅,您也可以在清单文件中检查添加以下内容

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.yourpackagename"
    android:installLocation="auto">

如果您将installLocation的值设置为auto,则用户可以将应用程序保留在他们想要的任何位置

您是否尝试过它,它是否与您一起工作?对我来说,这不会改变任何事情。