ADK and Eclipse woes - com.android.future and USBA

2019-03-18 09:44发布

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条回答
▲ chillily
2楼-- · 2019-03-18 10:13

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.

查看更多
登录 后发表回答