Android 如何限制应用程序安装在SD卡上?
我正在开发一个应用程序,我想强制用户在内部存储器中安装此应用程序。应用程序不能安装在SD卡上 如果您有任何建议和想法,我们将不胜感激Android 如何限制应用程序安装在SD卡上?,android,Android,我正在开发一个应用程序,我想强制用户在内部存储器中安装此应用程序。应用程序不能安装在SD卡上 如果您有任何建议和想法,我们将不胜感激谢谢U无需阅读文档 但是,如果您确信您的应用程序永远不应该安装在外部存储上,那么您应该通过声明值为“internalOnly”的android:installLocation来明确这一点 从U不读取文档 但是,如果您确信您的应用程序永远不应该安装在外部存储上,那么您应该通过声明值为“internalOnly”的android:installLocation来明确这一
谢谢U无需阅读文档 但是,如果您确信您的应用程序永远不应该安装在外部存储上,那么您应该通过声明值为“internalOnly”的android:installLocation来明确这一点 从U不读取文档 但是,如果您确信您的应用程序永远不应该安装在外部存储上,那么您应该通过声明值为“internalOnly”的android:installLocation来明确这一点
从检查中的android:installLocation
编辑:从标题中的问题开始,我以为您想强制用户在SD卡上安装
编辑:从标题中的问题开始,我认为您想强制用户在主文件中的SD卡上安装,请执行此操作 用于SD卡
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emx.jamalert"
android:installLocation="preferExternal">
用于内部存储器
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emx.jamalert"
android:installLocation="Internal">
在Mainfest文件中执行此操作 用于SD卡
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emx.jamalert"
android:installLocation="preferExternal">
用于内部存储器
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.emx.jamalert"
android:installLocation="Internal">