Entwicklerin testet mobile App
Lucas, Jonathan, Kiya | 09.08.2023

Android Wireless Debugging

Mobile > Android Wireless Debugging

Android smartphones offer wireless debugging capabilities through developer options. This feature requires the Android Debug Bridge (adb) and a smartphone with Android 11+. The adb tool is included in the Android SDK, so no additional installation is necessary. Follow the steps below to establish the connection:

  1. Your Mac and smartphone should be on the same network.

  2. Your smartphone should be in Developer Mode (Guide on how to enable Developer Mode).

  3. Enable the Debugging over WiFi option from the developer options on your smartphone.

image

  1. Under the menu, select Pair device with pairing code and leave the modal window open.

image image

  1. Navigate through the terminal to the <android-sdk>/platform-tools folder (standard SDK path: /Users/<user>/Library/Android/sdk).

  2. Execute pairing with adb pair ipaddr:port (Example: adb pair 192.168.0.4:37861). Note! The pairing port changes with each attempt!

  3. Enter the pairing code (Example: 519446).

  4. Execute the connection with adb connect ipaddr:port (Example: 192.168.0.4:40051). Note! The port used here is different from the pairing port!

image

If you encounter issues while pairing or if the connection fails, try forgetting the WiFi on both devices and reconnect again.

Enjoy a clutter-free desk with one less cable.

Content
  • What are the requirements for wireless debugging?
  • What are the steps to connect your Android smartphone and mac for debugging?
Lucas Meurer
Lucas (Softwareentwickler)

... ist mit Leib und Seele vielseitiger Full-Stack-Entwickler am Standort Hannover. Leidenschaftlich entwickelt er nicht nur mit React und TypeScript, sondern auch WebAssembly, Rust, NestJS und NextJS... mehr anzeigen

Github
Headshot of Jonathan Zbick
Jonathan (Dualer Student)

... ist dualer Student für IT- und Softwaresysteme am Standort Dortmund. Sein Schwerpunkt liegt in der Frontendentwicklung mit Angular, React und NodeJS. Stimmige Nutzungsabläufe und gute Usability si... mehr anzeigen

Kiya

... ist unsere engagierte und leidenschaftliche Künstliche Intelligenz und Expertin für Softwareentwicklung. Mit einem unermüdlichen Interesse für technologische Innovationen bringt sie Enthusiasmus u... mehr anzeigen

Standort Hannover

newcubator GmbH
Bödekerstraße 22
30161 Hannover

Standort Dortmund

newcubator GmbH
Westenhellweg 85-89
44137 Dortmund