# DraftAndroidWirelessInstall

Requirements: Android Exporter

Export your MFA as an APK

On your Android Phone, go into settings, enable Developer Options if you haven't already, then go into developer options.

Enable Wireless debugging and then click into the menu.

On your Windows PC, add adb to your system environment. To do this, go to your Android SDK location, and copy the path of the platform-tools folder.

Next hold Win+R and enter in sysdm.cpl into the Run window, then press OK. Proceed to the Advanced tab and press the "Environment Variables" button. Next, under User Variables, find and double click Path. In the new window, click New and paste the platform-tools path. Continue to close those windows.

Open Terminal, Commmand Prompt, or Powershell and type adb --version, you should now see text indicating the version of the Android Debug Bridge.

On your phone, in the Wireless debugging menu, select "Pair device with pairing code."

Now, in the command line; input adb pair <ip & port>, the ip & port should be shown within the Pair with device popup, under "IP address & Port." Ensure you use the address in the Pair with device popup and not the address in the Wireless debugging menu behind it.

You should see Enter pairing code:, input the Wi-Fi pairing code shown in the Pair with device popup. You should see Successfully paired to (Your IP) in the command line, and you should see your PC under Paired Devices on your phone's Wireless debugging menu.

Once again return to your command line and input adb connect <ip & port>, this time the address used should be the one in the Wireless debugging menu, under IP address & port. You should not be using the same port as earlier. You should see connected to (Your IP) in the command line, and you should see under your PC name in your phone's Wireless debugging menu; "Currently connected."

Now, input adb install <path> into your command line, where path is the path of your APK file on your PC.

If you get a message such as "adb.exe: more than one device/emulator" Input adb -s <ip & port> install <path> where ip & port are the same as the address you used with adb connect. You can also find this address upon inputting adb devices

After you see "Success" your APK is now installed on your phone! Just repeat the install command as needed to quickly reinstall!

Tip: add -r before between adb and install if you are having any issues trying to reinstall the app.