i have android device, how can i run the application connecting with my system instead running in the emulator.
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.
With the Phone Link app, you can instantly access the Android apps installed on your mobile device right on your PC. Using a Wi-Fi connection, Apps allows you to browse, play, order, chat, and more — all while using your PC's larger screen and keyboard.
Step 1: In the physical android device goto Settings -> About phone and then find the Build Number Option. Step 2: Then one needs to tap the Build Number option fast until it shows, “No need, you are already a developer” as a Toast message. Step 3: Go back to the Settings menu and search for the USB Debugging.
BlueStacks, Andy, Genymotion, Remix OS, and NoxPlayer are some of the most popular Android emulators for Windows. Android Studio from Google also has a built-in emulator. Can I run Windows on Android? No, but you can use Microsoft Launcher to access Windows apps from your Android phone or tablet.
Connect your device via USB to your computer:
http://developer.android.com/guide/developing/device.html
And then adb should use preferentially the hardware device over the emulator.
http://developer.android.com/guide/developing/building/building-eclipse.html
Automatic and manual target modes
By default, a run configuration uses the automatic target mode in order to select an AVD. In this mode, ADT will select an AVD for the application in the following manner:
1) If there's a device or emulator already running and its AVD configuration meets the requirements of the application's build target, the application is installed and run upon it.
2) If there's more than one device or emulator running, each of which meets the requirements of the build target, a "device chooser" is shown to let you select which device to use.
3) If there are no devices or emulators running that meet the requirements of the build target, ADT looks at the available AVDs. If there is an AVD that matches the build target of the project, ADT chooses that AVD. If the AVD versions are newer than the build target of the project, ADT chooses the oldest possible version of an AVD that meets the project's build target requirement.
4) If there are no suitable AVDs, the application is not installed a console error warning tells you that there is no existing AVD that meets the build target requirements.
However, if a "preferred AVD" is selected in the run configuration, then the application will always be deployed to that AVD. If it's not already running, then a new emulator will be launched.
If your run configuration uses manual mode, then the "device chooser" is presented every time that your application is run, so that you can select which AVD to use.
You have 2 options:
Via ide plugin. Eclipse and IDEA both are able to lauch and debug applications on the real devices, only thing you need is the driver installed for your mobile.
Via apk. Just make an apk, copy it to sdcard, and install it from your device using some file manager like ASTRO.
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