允许在外部设备上安装android应用程序

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了允许在外部设备上安装android应用程序相关的知识,希望对你有一定的参考价值。

If you declare "preferExternal", you request that your application be installed on the external storage, but the system does not guarantee that your application will be installed on the external storage. If the external storage is full, the system will install it on the internal storage. The user can also move your application between the two locations.

If you declare "auto", you indicate that your application may be installed on the external storage, but you don't have a preference of install location. The system will decide where to install your application based on several factors. The user can also move your application between the two locations.
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:installLocation="auto"
  3. ... >
  4.  
  5. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:installLocation="preferExternal"
  7. ... >

以上是关于允许在外部设备上安装android应用程序的主要内容,如果未能解决你的问题,请参考以下文章

是否可以强制 AVPlayer 停止在外部播放视频(在 Apple TV 上)

AS3 for Android,在外部存储中保存文件(仅在手机重启时可见)

Redshift Spectrum 是不是允许您在外部表上添加列

AS3:如何在外部 swf 上的文本字段中使用 Android 默认字体?

使用 Bash 在外部硬盘驱动器上移动文件夹 - 不允许操作

Android Oreo (API 26) - 在外部存储中创建目录