Android项目开发时版本选择

一、引言

没事就喜欢瞎扯,就算瞎扯也要好好记录问题,写点有用的东西。好了,言归正传。

二、Android软件开发时怎么选择版本

上图所示,新建项目时有三个地方要进行选择,这里说一下三个选项的区别:

箭头一所指的地方是最低兼容的android版本,现在一般是2.2吧。

箭头二所指的地方是指软件运行的目标版本,一般选择最新的SDK,不过也有区分,例如,如果是平板应用,一般选择3.x,如果是智能手环一般选择4.4w,其他一般都选最新的SDK版本。

箭头三所指的地方是指软件编译的版本,此处通常都是与箭头二一样。

三、Google是怎么建议的呢?

Google的建议:
In order to provide the best user experience on the latest devices, we recommend that you use the latest platform version as your build target. You'll still be able to run your app on older versions, but you must build against the latest version in order to use new features when running on devices with the latest version of Android.
To get started, download the latest Android version, plus the lowest version you plan to support (we recommend Android 2.2 for your lowest version).

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值