Should a legacy Android application be rebuilt using SDK 2.1?

与世无争的帅哥 提交于 2019-12-05 12:08:54

Question1: Since maxSdkVersion is not specified, the application should be installable and compatable with newly released Android versions 2.01 and 2.1 correct?

correct.

Question2: is there any value in rebuilding the application with Android SDK 2.1?

not really, if you're not planning on using anything new.

Question3: If so, should targetSdkVersion be changed from 5 (API 2.0) to 7 (API 2.1)?

in general, targetSdkVersion should be the newest version you've tested your application on:

http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#target

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!