'Network Profiler has moved
I've updated android studio from arctic fox to latest version bumblebee 2021.1.1 on Macbook. I'm using profiler and unable to do network profiling as it shows Network Profiler has moved and beneath that it shows To inspect network activity. Use the Network Inspector. And when I click on that highlighted Network Inspector it moves me to App Inspection section where nothing shows.
And this is what I get when click on Network Inspector
Solution 1:[1]
Network Inspection: The Network Profiler has now migrated to the App Inspection tool window, to allow for a lighter-weight experience for inspecting network traffic in your app. The look and feel of the Network Profiler has been maintained and works with any debuggable app on devices running API level 26 and higher. To use the new inspector, select View > Tool Windows > App Inspection from the menu bar and select the Network Inspector. For more information, see Inspect network traffic with the Network Inspector.
Refer https://android-developers.googleblog.com/2022/01/android-studio-bumblebee-202111-stable.html
Solution 2:[2]
Actually there are some bugs in latest Android Studio version "Bumblebee 2021.1.1".
Hack/Workaround: Start the application from the android studio itself and not from your phone. Then it will show the network details you need to see. If it does not show the network details automatically choose the application process by selecting the device from the app inspection window.
- The above fix is working fine in Windows also.
There are some other issues also in network profiler in latest version:
- You might not be able to stop the network profiler completely. Even after clicking on "Stop inspectors" it still continues to show network details.
- Reduced internet speed.
- Issues in playing online videos (tested in exoPlayer).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Abdul Rehman |
| Solution 2 |


