Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Without connecting my phone via usb, is it possible to install an app I made on Android Studio?

I just bought a second hand phone and when I connected it to the computer it wasn't recognized (code 43). Since I really like the phone would it be possible for me to install apps I make on android studio another way than with an USB cable ? Like via wifi or something ?

like image 209
Ced Avatar asked Feb 24 '15 17:02

Ced


People also ask

Can you connect your device to Android Studio without USB cable?

You can run Android apps on your physical device through a cord or through Wi-Fi. Windows users need to install a USB debugging driver to run apps on their physical device. If you are running your app through Wi-Fi, you can pair using a QR code or a 6 digit code.

Can I install an app on my phone from my computer?

Visit the Google Play store from your computer and log in using the Google account that's associated with your phone. Next, find the app that you want to install and go to its information page, then press the Install button for that app. Select the device you want to install the app on, then press Install.

How can I use my phone as an emulator in Android Studio?

Emulator for native development with Android StudioIn 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 Android Emulator.


2 Answers

  1. Build your .apk
  2. Download the .apk to the phone
  3. Run the .apk

You can use an app like ES File Explorer, which allow you to access shared files on your network.

like image 92
tachyonflux Avatar answered Sep 27 '22 23:09

tachyonflux


http://developer.android.com/tools/help/adb.html#wireless

You can connect to ADB over the network.

like image 28
Jeffrey Blattman Avatar answered Sep 27 '22 21:09

Jeffrey Blattman