Should I reinstall an outdated Android application using the SDK 2.1?

I have an Android application that uses the well-known Strategy for legacy applications . It is built with the Android SDK 2.0 with the manifest settings minSdkVersion = "3" (API 1.5) and targetSdkVersion = "5" (2.0). Question1: Since maxSdkVersion is not specified, should the application be installed and compatible with recently released versions of Android 2.01 and 2.1 correctly? At the moment, I do not plan any improvements that will use any new API features. Question2: is there any value when restoring an application with Android SDK 2.1? Question3: If so, should I change targetSdkVersion from 5 (API 2.0) to 7 (API 2.1)?

+3
source share
1 answer

Question1: Since maxSdkVersion is not specified, should the application be installed and compatible with released versions of Android 2.01 and 2.1 correctly?

correctly.

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

in fact, if you do not plan to use anything new.

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

in general, targetSdkVersion should be the latest version that you tested your application for:

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

+4
source

Source: https://habr.com/ru/post/1728706/


All Articles