ADK和Eclipse的问题 - com.android.future和USBAccessory?

ina*_*ina 12 eclipse android adk

我正在尝试使用Eclipse设置ADK(附件开发工具包),但在更新到API 12后,要运行demokit Hello World,我得到29个错误,前几个看起来像:

com.android.future cannot be resolved, etc
UsbAccessory cannot be resolved to a type

小智 24

您需要将构建目标设置为Google API,而不是Android.单击Project-> Properties,然后在对话框中选择Google API(2.3.3)而不是Android 2.3.3.