使用eclipse编译后,安装运行出现
Installation error: INSTALL_FAILED_MISSING_FEATURE
据网上 研究分析主要是摄像头功能导致的,解决方案如下:
注释掉camera功能,相机功能,因为(android.hardware.camera)ApiDemos似乎无法要求安装:
<!-- <uses-feature Android:name="android.hardware.camera" />
...
<uses-feature android:name="android.hardware.camera.autofocus" android:required = "false" />
-->
按照上面的方法注释掉该功能即可正常安装运行
别管正常不正常 如果游戏不需要摄像头,屏蔽