Difference between “Build Target SDK” in Eclipse and android:targetSdkVersion in AndroidManifest.xml?

后端 未结 7 461
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 02:55

As I\'m importing an existing Android project into Eclipse, I am asked to select an SDK build target as part of the process.

Why do I need to enter this information?

相关标签:
7条回答
  • 2020-12-05 03:47

    Guys I done some testing on these and find below answer:

    minSDKVersion - application will not run below that sdk

    targatSDKVersion - application runtime environment. For ex application have latest SDK in device let say 21 but you set target sdk version 19 it means when application run in this device the runtime (themes and other UI/Classes) will be 19.

    Project Build Target - When you select a project build target version it means you are apk or classes will be compiled according to selected sdk. for ex - if you select project build target 16 and try to use anotation @JavaScriptInterface it will not find because this anotation is available in above that target.

    maxSDKVersion - It means application will not install on above that sdk.

    0 讨论(0)
提交回复
热议问题