Skip to content Skip to sidebar Skip to footer

Is There A Way To Test Android Applications Directly On Phone, Without The Emulator?

How can I test applications in eclipse without the emulator ? I have a phone with android, and I want to test the apps directly on phone. Update: I want to develop the entire appli

Solution 1:

Yes, Android explicitly supports this. Try this link: https://developer.android.com/studio/run/device.html

Solution 2:

Connect your phone by USB cable to your computer. Remember to set android:debuggable="true" in your application in the AndroidManifest file.

ETA: alternatively, you can email the .apk files to an email account the phone can access and install from there. You'll also need "unknown sources" ticked under Settings -> Application. (Although that will only let you run them, not debug them.)

Solution 3:

Yea you need to add the "charge" usb drivers then in the settings turn on USB debugging. I would check with "adb logcat" if you see the logs start to roll your set. In eclipse just build and if everything is setup correct it will install and start on your device. If you have more than one device attached it will ask you to pick.

Solution 4:

Yes, but in addition to what others mentioned, you need to install a device driver for the particular Android device that you are connecting through USB. Each Android phone may require a different driver (at least on Windows).

Solution 5:

there are a few thinks you need to do:

  1. setup as others have said, with SDK / eclipse / etc
  2. on your phone configure it to be debugging. Settings -> Applications -> Developement
  3. make sure you have the USB driver for your phone

During setup of the SDK there is a weird Java setup gotcha. I found great walk through at http://www.mobiusbay.com/home/android%E2%80%93day0gettingstarted

Short story, if you have the Java SDK installed and the Android SDK claims you do not. Hit the back button and then the Next button.

At the walk through they show a simple application to verify it is running.

Post a Comment for "Is There A Way To Test Android Applications Directly On Phone, Without The Emulator?"