ADK and Eclipse woes - com.android.future and USBAccessory?
Asked Answered
W

1

12

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
Wernher answered 21/5, 2011 at 6:51 Comment(5)
missing imports? errors on the imports due to missing jars?Trix
how do i fill in the missing jars? i tried deleting and installng the api... no do...Wernher
What happens if you try to add imports? Do you get errors on the import lines? Is there an ADK example project you can look at, or even copy & gut (assuming license compatibility)Trix
Did you manage to connect your ADK board successfully to your computer? I'm having a real fight with the FTDI drivers. - That answer down below is correct by the way. That's why you're having your error. If you don't see "GOOGLE APIs", you'll need to go download them using the Android SDK and AVD manager (look under available packages)Histidine
@Wernher I'm facing the same problem and I'm not sure how to get through it with the written solution. any further hints? All I see under project->properties are modules to be added, that need to be located on the pc. Also I downloaded almost all the Google APIs along with all SDKs I'm using.Charbonneau
S
24

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.

Small answered 23/5, 2011 at 23:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.