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 application using the phone. I hate the emulator because it's very slow on my computer. Also, my application needs GPS and I can better handle this using the phone.
In the Android Studio toolbar, select your app from the run configurations drop-down menu. From the target device drop-down menu, select the device that you want to run your app on. Select Run ▷. This will launch the app on your connected device.
You can generally switch on USB debugging on your handset and connect it up to your PC over USB. The handset will then appear to adb in the same way as an emulator.
Run the app on your device as follows: In Android Studio, select your app from the run/debug configurations drop-down menu in the toolbar. In the toolbar, select the device that you want to run your app on from the target device drop-down menu.
No. It does not make sense that you would be able to do so, every application for any device needs a platform to run on!
Yes, Android explicitly supports this. Try this link: https://developer.android.com/studio/run/device.html
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.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With