问题
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