Android:升级“移至 SD 卡”API选项
我目前有一个围绕 1.6 API 构建的应用程序。它已经开始增大,目前已经相当大了。我想知道是否升级到 API 2.2,在清单中添加: android:installLocation="auto"
,但设置
如果我会失去低于 2.2 的用户。目前1.6用户占比不足1%,但2.1则占10%。失去 1.6 不会是一个问题,但我不认为使用 SD 卡的好处会超过失去 10% 的用户。
让我知道你的想法。
谢谢!
I currently have an app that was built around the 1.6 API. It has begun to accrue size and currently is quite large. I was wondering if I upgrade to API 2.2, add: android:installLocation="auto"
to the manifest, but set <uses-sdk android:minSdkVersion="6" />
if I will lose users that have lower then 2.2. Currently 1.6 users account for less than 1% of users but 2.1 accounts for 10%. Losing 1.6 wouldn't be a problem but I don't think the benefit of using the SD card would outweigh losing 10% of my users.
Let me know what you think.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您添加
android:installLocation="auto"
并将 min SDK 设置为 6,您将不会失去 1.6 用户。您必须使用 2.2 SDK 进行构建。当您添加新代码时,您必须确保使用 1.6 方法,否则它将在 Android 版本小于 2.2 的设备上正确构建并崩溃。You won't lose the 1.6 users if you add
android:installLocation="auto"
and set the min SDK to 6. You'll have to build with the 2.2 SDK. When you are adding new code you have to make sure that you use 1.6 methods, otherwise it will build without errors and crash on the devices with Android Version smaller than 2.2.设置
installLocation
只会影响拥有支持该设置的版本的用户:使用早期版本的用户仍然能够安装该软件。Setting
installLocation
will only affect users who have versions that support that setting: folks from earlier revisions will still be able to install the software.