• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How do I copy program to device when hooked up to Eclipse?

StevenHu

Member
How do I copy my program to an Android phone when it's hooked up to Eclipse?

Currently I copy the apk to my SC card, then plug it into my tablet for testing. However, I used to plug in an Android phone to the USB port, then get Eclipse to copy the program that way. Can someone refresh my mind as to the steps on getting this done? My notes, unfortunately, assumed I already knew some key steps, so they are missing.

Thanks!
 
The steps are strait forward:

Set up the phone for debugging first.
Plug device into computer.
Right-click on app name.
Run As > Android Application.

This issue has been resolved for me.
 
If you've got your device plugged in and you run your application, it will copy/install your apk onto your device.

You can also run the command "adb install path_to_apk_here", which will install it on the device as long as a single device is connected.

HTH
 
Back
Top Bottom