Android Studio网络监控无法正常工作 [英] Android Studio Network Monitoring not Working
问题描述
我正在Ubuntu 14.04上运行Android Studio 1.5.1.我想检查我的应用程序的网络使用情况,因此尝试了Android Studio中的网络监视工具.但是,对于我尝试过的所有android模拟器,我只会收到消息
I am running Android Studio 1.5.1 on Ubuntu 14.04. I want to check the network usage of my application and hence tried the network monitoring tool from Android studio. However, for all the android emulator I've tried, I only get the message
您的设备上无法使用网络监控
Network monitoring is not available on your device
关于如何解决此问题的任何想法?监视网络使用情况需要什么?模拟器是否支持此功能?
Any idea on how I can fix this? What is needed to monitor the network usage? Is this even supported for emulators?
推荐答案
@AnyssaK是正确的.网络监视器在模拟器上不起作用.请阅读他们的评论.
@AnyssaK was right. The Network Monitor doesn't work on emulators. Please read their comment.
此外,请确保您在Android Monitor中选择了正确的设备.
Besides make sure that you selected the correct device in Android Monitor.
这篇关于Android Studio网络监控无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!