我该怎么办?我正在使用三星Galaxy Ace
我已经尝试了这个方法 http://forum.xda-developers.com/showthread.php ?t = 1278349 我确认它确实设置为2.但是它不会工作。
然后我扎根了我的手机,安装了一个应用程序,我可以修改默认安装路径,但它也不会工作。我该怎么办?
我该怎么办?我正在使用三星Galaxy Ace
我已经尝试了这个方法 http://forum.xda-developers.com/showthread.php ?t = 1278349 我确认它确实设置为2.但是它不会工作。
然后我扎根了我的手机,安装了一个应用程序,我可以修改默认安装路径,但它也不会工作。我该怎么办?
How can I do this? I'm using a Samsung Galaxy Ace
I've tried this method http://forum.xda-developers.com/showthread.php?t=1278349 I confirmed that it was indeed set to 2. But it wouldnt work.
Then I rooted my phone, installed an app with which I could modify the default installation path, but it also wouldnt work.
What can I do?
使用2.3,它将默认安装应用程序到外部SD卡。但是,如果应用程序可以从SD卡的应用程序运行运行,则会发生这种情况。许多应用程序必须安装到内部存储上,以便正常工作。
With 2.3, it will install apps by default to the external SD card. However, this will only happen if the app can run from the SD card. Many apps must be installed onto the internal storage in order to work properly.
来自Google:
外部存储介质上的应用程序安装 Android平台现在允许应用程序请求安装到设备的外部存储介质(例如SD卡)上,作为安装到设备内部存储器上的替代方案。
应用程序开发人员可以通过清单文件中的新属性,Android:InstallLocation表达应用程序的首选安装位置。该属性支持三个值:"InternaleOnly" ,"preferexternal" 和"Auto" 。在安装时,系统会检查Android:InstallLocation的值并根据首选位置安装应用程序.Apk,如果可能的话。如果应用程序请求外部安装,系统将其安装到外部介质中的私有加密分区。一旦外部安装了应用程序.Apk,系统会让用户更改.apk的存储位置,并根据需要(反之亦然),通过管理用户设置中的应用程序来将其移动到设备的内部内存中。
默认情况下,系统将所有应用程序安装到设备的内部存储器上,除了显式请求外部安装的内存之外。这意味着系统将始终将传统应用程序安装到内部存储器上,因为它们无权访问Android:InstallLocation属性。但是,可以配置和编译传统应用程序,使得它在内部安装在平台的旧版本和在Android 2.2及更高版本的平台上,如有必要。
注意,请求安装到设备的外部介质不适合所有应用,特别是因为外部介质可以是可移动的,并且卸载/重新安装可能会扰乱用户体验和系统设置。
有关设置应用程序的首选安装位置的详细信息,包括讨论应讨论应且不应该请求外部安装的应用程序,请阅读 app安装位置文档。
From Google:
App installation on external storage media The Android platform now allows applications to request installation onto the device's external storage media (such as the SD card), as an alternative to installation onto the device's internal memory.
Application developers can express the preferred installation location for their applications by means of a new attribute of in the manifest file, android:installLocation. The attribute supports three values: "internalOnly", "preferExternal", and "auto". At install time, the system checks the value of android:installLocation and installs the application .apk according to the preferred location, if possible. If the application has requested external installation, the system installs it into a private, encrypted partition in the external media. Once an application .apk is installed externally, the system lets the user change the storage location of the .apk and move it onto the device's internal memory if needed (and vice versa), through Manage Applications in the user settings.
By default, the system installs all applications onto the device's internal memory, except for those that explicitly request external installation. This means that the system will always install legacy applications onto internal memory, since they do not have access to the android:installLocation attribute. However, it is possible to configure and compile a legacy application such that it is installed internally on older versions of the platform and externally on Android 2.2 and later platforms, if necessary.
Note that requesting installation onto the device's external media is not suitable for all applications, particularly because the external media may be removable and unmounting/remounting may disrupt the user experience and system settings.
For more information about setting a preferred install location for your application, including a discussion of what types of applications should and should not request external installation, please read the App Install Location document.
使用 link2sd
Use link2sd. It's a very nice app. You can even set it to automatically move applications to the sdcard.
在提供的 link ,它会像魅力一样工作,适用于我:)
如果您的开发人员并希望将您的应用程序直接添加到SD卡中,则在清单标记中添加以下行
android:installLocation="preferExternal"
Try the steps in the provided link and it will work like a charm, works for me :)
and if your a developer and want to add your application directly into sd card then add below line in manifest tag
android:installLocation="preferExternal"
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有