Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 sdcard 上安装了我的 Android 应用程序,添加了 manifest 指令: android:installLocation=preferExternal
android:installLocation=preferExternal
但是如果我使用 ES 文件资源管理器浏览其内容,我无法在 sdcard 上找到我的应用程序。
任何想法?
添加android:installLocation=preferExternal并不能保证它最终会出现在外部存储上。来自谷歌开发者指南:
如果您声明“preferExternal”,您要求将您的应用程序安装在外部存储上,但系统不保证您的应用程序将安装在外部存储上。如果外部存储已满,系统会将其安装到内部存储上。用户还可以在两个位置之间移动您的应用程序。