Blog Infos
Author
Published
Topics
,
Published

A while back I wrote an article about how to set up wireless ADB debugging using the command line. Today, in the latest release of Android Studio called Bumblebee, a new and much easier wireless debugging tool has been released into the IDE. This tool, however, currently only works for Android devices running API 11 or higher. This article will outline how to set up wireless ADB debugging from the latest Android Studio Bumblebee version.

Prerequisites:
  • You will need to ensure that you have the latest Android Studio which is Android Studio Bumblebee 2021.1.1 or later
  • A physical device running Android 11 or later
  • Developer options needs to be enabled on the physical device
  • Be connected to the same WiFi network as your Android Studio. Note this WiFi connection needs to be very stable
Setting up

Once you have the above all ready, start by navigating to the devices dropdown in the menu in Android Studio and selecting “Pair Devices Using Wi-Fi”:

You will then be presented with a dialogue containing either an option to scan a QR code or pair with a pairing code. Select the default option to scan with a QR code:

On your physical device go to “Settings”, scroll down to “Developer options then scroll down and look for “Wireless debugging” and click on the menu (not the toggle). This will lead you to a “Wireless debugging” screen:

(1) The settings menu with Developer Options at the bottom (2) The Developer options screen (3) The Wireless debugging screen

On the “Wireless debugging” screen, click on the toggle to reveal more options. After clicking the toggle and if wireless debugging was not currently enabled on the network your physical device is on, you will then be presented with the following dialogue prompting you to allow wireless debugging on that network:

The prompt displayed after clicking on the “Use wireless debugging” toggle when the WiFi connection is not currently allowed to have wireless debugging

Job Offers

Job Offers


    Senior Android Software Engineer (f/m/d)

    Paradox Cat GmbH
    Munich
    • Full Time
    apply now

    Kotlin Multiplatform Mobile Developer

    Touchlab
    Remote
    • Full Time
    apply now

    Mobile Engineer

    OLX Group
    Remote, Portugal, Spain, Romania, Poland
    • Full Time
    apply now
Load more listings

OUR VIDEO RECOMMENDATION

,

Upgrade Android Studio experience by building your own plugins

Android Studio allows anybody to build and integrate plugins in the IDE to customize/enhance the development experience. This talk will introduce the different options for plugin development weighing in the pros and cons, and the…
Watch Video

Upgrade Android Studio experience by building your own plugins

Santosh Astagi
Software Engineer
Meta Platforms

Upgrade Android Studio experience by building your own plugins

Santosh Astagi
Software Engineer
Meta Platforms

Upgrade Android Studio experience by building your own plugins

Santosh Astagi
Software Engineer
Meta Platforms

Jobs

You may choose to check the “Always allow on this network” radio button which will result in the prompt not showing up again for that particular network or simply click “Allow” if you prefer to be prompted always.

When you click “Allow” you will be presented with more options, among them the option to “Pair device with QR code”, click on this option:

The screen displayed after wireless debugging is allowed on the current WiFi connection

Once selected your device should open up a screen to allow you to scan a QR code. The QR code you need to scan is the one displayed in Android Studio:

Scan the QR code in Android Studio from this screen

Once you have scanned the QR code from Android Studio, both your physical device and Android Studio will confirm that the two are now connected.

On your physical device under the “Paired devices” section the new connection will be listed:

The confirmation of the current wireless debugging connections between your physical device and your workstation

In Android Studio, a confirmation screen will be displayed to confirm the connection:

Android Studio’s confirmation that the physical device and it are connected wirelessly

Close the above confirmation dialogue and you will now notice that your physical device is now listed in the list of devices in the menu.

The physical device is now in the devices list menu as an available ADB connection

Android Studio’s confirmation dialogue in the bottom right when the physical device and it are connected over WiFi

Now you can deploy your builds to your physical Android 11 device or higher with ease!

YOU MAY BE INTERESTED IN

YOU MAY BE INTERESTED IN

blog
Compose is part of the Jetpack Library released by Android last spring. Create Android…
READ MORE
blog
Today, I will share my recent experience of not reading the documentation 📖carefully about…
READ MORE
blog
READ MORE
blog
Once, I thought what if Android Studio had a feature to quickly create any…
READ MORE

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu