Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run app on Android Device using Eclipse?

I am developing my first app for Android, for now I was using ADT for running app, now I want to run app on Android Device, how can I do so, help needed. Thanks in Advance

like image 311
Chatar Veer Suthar Avatar asked Jul 11 '11 11:07

Chatar Veer Suthar


People also ask

Can we run Android on Eclipse?

Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android platform to your environment. To get these packages for your SDK, continue to Adding Platforms and Packages.

Is Eclipse an IDE for Android app development?

1. Eclipse is an IDE widely for java based Android app development.

Which Eclipse IDE is best for Android?

Eclipse Classic 3.6. 1. Eclipse IDE for Java EE Developers.


3 Answers

Just Connect your Device , and Make Sure you have enabled USB debugging in your Device Settings and also installed the appropriate drivers in your Machine. you can download the device driver file from here http://developer.android.com/sdk/oem-usb.html and also have look here http://developer.android.com/guide/developing/device.html

like image 183
Sankar Ganesh PMP Avatar answered Oct 18 '22 22:10

Sankar Ganesh PMP


  1. Install the ADT plugin for Eclipse
  2. Install phone drivers (if needed)
  3. Plug the phone into the computer
  4. In Eclipse, "Run → Run as → Android application"
like image 9
Matt Ball Avatar answered Oct 18 '22 21:10

Matt Ball


For those who are trying to find how to enable debugging on some of the newer devices running Jelly Bean 4.2 (e.g Google Nexus), you have to go to Settings > Apps > About tablet and tap the text "Build number" 7 times slowly. Go back to the now available Settings > Developer options and check USB debugging.

like image 3
whyoz Avatar answered Oct 18 '22 22:10

whyoz