How to Debug Android Apps over WiFI (without Root)

Опубликовано: 02 Февраль 2016
на канале: Future Studio
40,712
170

In this video, we're explaining how to debug your Android apps over WiFi without needing a rooted phone.

Tip: turn on subtitles to deal with my accent. A full transcript is also available below.

Read all the commands and more information in the full tutorial: ►https://futurestud.io/tutorials/how-t...

Watch 20+ Retrofit videos in our playlist here:
►   • Android Retrofit Tutorial Series  
----------------------------------------

Future Studio is helping 5,000+ users daily to solve Android and Node.js problems with 320+ written tutorials and videos. We’re on a mission to provide new in-depth content every week.

Checkout 320+ technical in-depth tutorials:
►https://futurestud.io

Subscribe for two new videos every week:
►https://www.youtube.com/c/FutureStudi...

----------------------------------------

Follow us on social media to get updates on new content:
►  / futurestud_io  
►  / futurestudiouniversity  
►https://plus.google.com/+FutureStudio...

----------------------------------------

Full transcript:

Hey what is up everyone, Norman from futurestud.io University here and in this video I'm going to show you how to debug your phone wirelessly.

There are few requirements. First of all your laptop in your phone need to be in the same Wi-Fi network. You need to have the adb installed and for the initial setup only, you need a USB cable. I'm going to show you everything in Android Studio, but technically you could use any regular terminal window.

You probably are aware of the command "adb devices" , which will show you all the devices you're connected to. So for me, that's Nexus 5. Now the trick is to use "adb tcpip 5555". This will open a port on your phone so you can connect to it. Next use "adb connect" and then the IP address of your phone. if you don't know the IP address of your phone go to settings, about phone and then status. Once you have done that it will say you have connected to that IP address. Now if you check with "adb devices" again it will say it has two devices connected.

So if we go up here to the build command and you will also see both devices. As soon as I unplug my phone via the USB cable, it's just one left connected wirelessly. I click OK, gradle will build the apk, will installed on the phone, everything done wirelessly! If you need to attach the debugger, you can do that. If you need to use the Android monitor over here. Everything works just like you used to.

If you're done and you want to disconnect from the wireless device you can use "adb disconnect" and then the IP address one more time. It will say it has disconnected and if I check with "adb devices" again I have no devices attached anymore. That's all you need to know about debugging your phone wirelessly.

If you want to copy and paste commands I've linked the blog post in the description below and if you liked this video feel free to subscribe to us on YouTube and happy coding.


Смотрите видео How to Debug Android Apps over WiFI (without Root) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Future Studio 02 Февраль 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 40,712 раз и оно понравилось 170 людям.