Eclipse Android Change API Level

前端 未结 2 1739
失恋的感觉
失恋的感觉 2020-12-23 19:36

Once I have created a project with the Android wizard, how do I change the API Package from say 1.5 to 2.1 ?

I\'m not referring to the application xml where the mini

相关标签:
2条回答
  • 2020-12-23 19:51

    Are you using Eclipse for this because you tagged the question with eclipse. If you are using Eclipse just right click on your project select properties now choose android. You should now be able to select another build target. If you want to the API package change the checkbox from 4 to 7.

    If you are not using Eclipse and want to use the Android console program use the terminal program android in the following way

    android update project -p <path to project> -t <new target api level>
    
    0 讨论(0)
  • 2020-12-23 20:07

    Using Eclipse, it may not change the SDK version correctly just going right click and properties. Open the manifest file and change the line

    <uses-sdk android:minSdkVersion="number-of-version-you-want" />
    
    0 讨论(0)
提交回复
热议问题