Click here to open external link
Android Studio Wireless Debugging
(in a poorly written casual way)
by hannah of team 8477 rohming robots
(avi#0001 on discord if you have questions or errors!!!)
STEP 1 - find the thing
First, open your Android Studio terminal
Right there. Press it. Yes. Correct. I’m proud.
STEP 2 - making sure your adb isnt a failure-ish
Next, try and type in “adb” and press enter
One of two things will happen
- Itll respond with a very. Very, very very very very VERY VERY VERY long message (this means you did it right congrats! Smart! Skip to step 4 it also means your AS is outdated, i think? lol)
- Itll say this. This is bad. Well, not bad. Not fun. difficult. Go to step 3.
STEP 3 - oh no what have you done adb
Oh no! Not fun. Lets fix this. Ohhhhhhhhhhhhhh noooooooo.
Basically it’s easy to fix it was just hard for me to find because i’m blind thanks.
Type in “cd C:\Users\YOUR USERNAME\AppData\Local\Android\Sdk\platform-tools
Replace “YOUR USERNAME” with your username, shocker
Now try doing the adb command again and it should work. If it doesnt, message me on discord.
Now it’s smooth sailing.
STEP 4- TCPIP (The Command Probably Ishould Pwork)
IMPORTANT: PLUG IN THE RC PHONE YOU WANNA CONNECT TO FIRST
We’re gonna type another command except this time it’s not just adb, we’re building on it
“adb tcpip [4 digit number here, i use 1112 so you can try that]”
It should give you this back i hope
If it didnt uhhhhh message me on discord thanks.
STEP 5- CONNECT GGEZ
IMPORTANT: CONNECT TO THE RC/DS PHONE. VERY IMPORTANT
Another adb command. This time it’s “adb connect 192.168.49.1:[whatever numbers you entered in the tcpip command] it should look like this i guess?
If it says connected to blah blah then you did it. Congrats. Unplug your phone and try running that command again for good measure. If you press run in android studio and it still shows that phone after you unplugged it, congrats! You followed this horribly written guide somehow. Thanks. If you have any questions dm me on discord !!
If this guide didn’t work out for you and you need more sophisticated words, follow this guide: https://blog.jcole.us/2017/04/13/wireless-programming-for-ftc-robots/