Android在Eclipse中更改SDK版本?无法解析目标android-x [英] Android change SDK version in Eclipse? Unable to resolve target android-x
问题描述
[2010-08-31 18:18:32 - AndroidApplication]无法解析目标'android-7'
eclipse可以在工作区中打开 default.properties
文件,并将项目目标更改为新的sdk( target = android-8
为2.2)。我不小心选择了1.5 sdk作为我的版本,并没有抓住它,直到很久以后,但更新和重新启动eclipse似乎已经完成了这个伎俩。
I developed an Android aplication against 2.1 SDK. Since then I have re-installed Eclipse/Android SDK; with the new install, I want to 'upgrade' the dependancy of the Android application to 2.2 SDK (because I dont want 2.1 installed on my machine). Is this possible? I am getting the following error from eclipse:
[2010-08-31 18:18:32 - AndroidApplication] Unable to resolve target 'android-7'
If you're using eclipse you can open default.properties
file in your workspace and change the project target to the new sdk (target=android-8
for 2.2). I accidentally selected the 1.5 sdk for my version and didn't catch it until much later, but updating that and restarting eclipse seemed to have done the trick.
这篇关于Android在Eclipse中更改SDK版本?无法解析目标android-x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!