我想获得 ADK(附件开发工具包)建立与Eclipse,但更新到API的12后,运行在DEMOKIT世界您好,我得到了29错误,最初的几个看起来像:
com.android.future不能得到解决,等等 UsbAccessory不能被解析为一个类型
解决方案
您需要设置您的构建目标谷歌的API,而不是机器人。点击项目 - >属性,然后在对话框中选择代替的Android 2.3.3谷歌的API(2.3.3)。
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
解决方案
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.
上一篇:在页面生命周期.NET的ViewState生命周期、页面、ViewState、NET
下一篇:Android的WebView功能:呼叫活动的方法形成的JavaScript接口接口、功能、方法、Android