ADK and Eclipse woes - com.android.future and USBAccessory?

≡放荡痞女 提交于 2019-12-09 05:19:38

问题


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

回答1:


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.



来源:https://stackoverflow.com/questions/6080147/adk-and-eclipse-woes-com-android-future-and-usbaccessory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!