简体   繁体   中英

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. 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:

错误

The device is a galaxy nexus and it has google maps installed.

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 [-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. Its been around and unfixed since 2010..

http://code.google.com/p/android/issues/detail?id=11373

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM