可以从Android Studio Network Inspector(Electric Eel或更高版本)导出数据吗?

huangapple go评论63阅读模式
英文:

Is it possible to export data from Android Studio Network Inspector (Electric Eel or later)

问题

我正在使用Android Studio Electric Eel 2022.1.1 Patch 2,并且想将Network Inspector中的数据导出为HAR文件进行分析。

我在网上进行了相当多的搜索,并查看了Android Studio的用户界面,但没有找到任何方法。我猜想可能不能从IDE中完成这个操作。

有没有人知道如何导出这些数据的方法?

英文:

I am using Android Studio Electric Eel 2022.1.1 Patch 2, and I want to export the data from Network Inspector as a HAR file for analysis.

I've searched online quite a bit and scoured the Android Studio UI and haven't found anything. I'm guessing it is not possible from the IDE.

Does anyone know of a way to export the data?

答案1

得分: 1

很抱歉,目前还不可能。我已经测试到长颈鹿阶段,那里至少有一个改进,可以向网络检查器添加规则以修改响应,但遗憾的是仍然没有导出功能。不幸的是,这在Hedgehog(beta版)和Iguana(canary版)的功能列表中也没有提到。

如果您不想使用Charles,那么您可能希望查看Chucker库,它作为一个OkHttp拦截器,并且可以导出HAR文件。

英文:

Unfortunately it's not possible right now. I tested until Giraffe where there is at least an improvement of adding rules to network inspector to modify responses for example but there is still no export feature unfortunately. It's not mentioned in the Hedgehog (beta) and Iguana (canary) feature list either.

If you don't want to use Charles then probably you might want to take a look at the Chucker library which acts as an OkHttp interceptor and can export to HAR file.

huangapple
  • 本文由 发表于 2023年6月16日 05:26:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/76485624.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定