英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论