[英]how can I force Android Automated device selection in the android device chooser with google api's in a project
Launching an android project with google api's from eclipse invokes the device chooser. 从eclipse使用google api启动android项目会调用设备选择器。 In project properties I have selected automatic selection of device however the device doesnt appear entirely compatible due to the project requiring google api's as seen here:
在项目属性中,我选择了自动选择设备,但是由于该项目需要google api,因此该设备似乎并不完全兼容,如下所示:
The device is a galaxy nexus and it has google maps installed. 该设备是一个星系联系,并且已安装了Google地图。
How can I make starting the project on a device seemless. 我如何才能使在设备上启动项目变得如此简单。 I am looking for a one click solution, click once on the project and it starts on the device.
我正在寻找一键式解决方案,在项目上单击一次,然后在设备上启动。
Use adb install command 使用adb install命令
adb install [-l] [-r] [-s] <file> -push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of
internalstorage)
There is no solution to this problem. 没有解决此问题的方法。 Its a bug in the android development tools.
它是android开发工具中的错误。 Its been around and unfixed since 2010..
自2010年以来一直未修复。
http://code.google.com/p/android/issues/detail?id=11373 http://code.google.com/p/android/issues/detail?id=11373
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.