Google Api level 10 project not working on android 2.3.4

寵の児 提交于 2020-01-06 07:28:28

问题


I created a project to implement USB accessory. The accessory mode is supported for Google API level 10 which works on Android 2.3.4. Now my project works on AVD which has target device as Google APIs level 10 but does not work if I change the target to 2.3.3 ( Since 2.3.4 target is not there on eclipse).

In short I want to run a project that uses Google API level 10, on an android phone. How to do this?

I tried copying the .apk file but that was of no use. I also tried to copy the complete project but this is also not working for me.

Please assist...


回答1:


I guess the obvious answer (though not the one you're looking for, I suspect) is that you'll need to get a device that's running 2.3.4 or higher (my current RAZR MAXX is at 2.3.6). A device that's running a version lower than 2.3.4 can't be asked to run an app compiled for versions 2.3.4 and higher.

and this may (or may not) be helpful to clear things up as well: Can't find android sdk 2.3.4 in SDK manager

Welcome to Stack!




回答2:


You are right, USB accessory does not work with 2.3.3, only with 2.3.4 and up. (And it does only work on selected phones, of course.)



来源:https://stackoverflow.com/questions/10911486/google-api-level-10-project-not-working-on-android-2-3-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!