Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 200
ina Avatar asked May 21 '11 06:05

ina


1 Answers

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.

like image 74
Eric Avatar answered Nov 08 '22 12:11

Eric