ADK和Eclipse的困扰 - com.android.future和USBAccessory? [英] ADK and Eclipse woes - com.android.future and USBAccessory?
本文介绍了ADK和Eclipse的困扰 - com.android.future和USBAccessory?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Eclipse设置 ADK(附件开发工具包),但在更新后到API 12,要运行Demokit Hello World,我得到29个错误,前几个看起来像:
I am trying to get ADK (Accessory Development Kit) set up with Eclipse, but after updating to API 12, to run the demokit Hello World, I get the 29 errors, the first few looking like:
com.android.future cannot be resolved, etc
UsbAccessory cannot be resolved to a type
推荐答案
您需要将您的构建目标设置为Google API,而不是Android。单击项目 - >属性,然后在对话框中,选择Google API(2.3.3)而不是Android 2.3.3。
You need to set your build target to Google APIs, not Android. Click on Project->Properties, then in the dialog box, select Google APIs (2.3.3) instead of Android 2.3.3.
这篇关于ADK和Eclipse的困扰 - com.android.future和USBAccessory?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文