Tvd
Tvd

Reputation: 4601

Android: Application Build and Install

I am newbie in Android development. Want to know about something related to my few queries : Is it possible to built an app in 2.1 and install in higher like 2.2 or 2.3 ? OR is it like the built version should be higher than the device OS where have to install the app.

Can anyone help me figure out with this query ?

EDIT :
Friends and Expoerts with this info can you help me why my app built on 2.1 and trying to install on 2.2 gets "Parse Error" - Freinds with this info, can you help me with this problem https://stackoverflow.com/questions/5977258/android-parse-error-while-reinstalling

Please Any help is highly appreciated.

Upvotes: 1

Views: 175

Answers (2)

Phonon
Phonon

Reputation: 12737

Yes. That's exactly why you specify the minimum API version. That's what it means. In fact, the Android SDK will prevent you automatically (it will not compile) from using any features that are available in some of the higher versions, but not in the minimum API version you specified. This way you don't have to worry about any of this stuff.

Upvotes: 1

FoamyGuy
FoamyGuy

Reputation: 46856

Yes to my knowledge every version of android is backwards compatible. So an app built for 2.1 will run on 2.2+. But you won't be able to use any new API features introduced in 2.2 or 2.3 even though the device supports it.

Upvotes: 3

Related Questions