jueves, 20 de marzo de 2014

connect your android mobile device in Ubuntu to use it with Eclipse ADT


If you are developing for Android mobile devices using Eclipse with the ADT plugin, it would be a great idea to try your progress in a real android device -believe me , the Eclipse built-in emulator will drive you crazy- so, to get EclipseADT+Ubuntu+Your device work together try these lines:

1. Open a terminal and prompt to the directory where your Eclipse+ADT is installed
2. if you have already open Eclipse type this:
  sudo ./adb kill-server

3. then, type this:
   sudo ./adb start-server
  you should see some notification lines in the command line that the daemon is been loaded

4. to make sure your device is loaded properly, type this:
adb devices

you should see the ID information of your device

Cool; from know go back to Eclipse and if your Run your project, the apk will be generated and send it to your device and it will be loaded as well, from here you may test it and adjust your code. the process is really smooth, you should work entirely using your device, I did this last two months and I could debug my app project.

Hope this help

Cheers

No hay comentarios:

Publicar un comentario