Chuck 的替代品 - Android 的 HTTP 检查器
Alternative of Chuck - HTTP inspector for Android
我正在使用 Chuck for inspection of HTTP(S) requests/responses fired by my Android App. It was working fine before but as I am working on new project now I came to realize that for targetSdkVersion 31 and above its causing issue。
是否有任何好的替代库来检查 HTTP 请求?任何建议将不胜感激
您可以使用 Chucker 代替维护良好的 Chuck。
如果您不仅考虑应用解决方案,您还可以使用:
Fiddler 或 Charles 用于嗅探来自您设备的流量。
https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
https://www.telerik.com/fiddler
您可以使用的另一个有用的工具 - Stetho,您可以在此处找到有关如何启动它的详细说明:
https://futurestud.io/tutorials/retrofit-2-log-network-traffic-with-stetho-and-chrome-developer-tools
您也可以使用 Android studio network profiler/inspector(取决于您使用的 Android studio 的版本有不同的名称)
https://developer.android.com/studio/profile/android-profiler
https://developer.android.com/studio/debug/network-profiler
我正在使用 Chuck for inspection of HTTP(S) requests/responses fired by my Android App. It was working fine before but as I am working on new project now I came to realize that for targetSdkVersion 31 and above its causing issue。
是否有任何好的替代库来检查 HTTP 请求?任何建议将不胜感激
您可以使用 Chucker 代替维护良好的 Chuck。
如果您不仅考虑应用解决方案,您还可以使用: Fiddler 或 Charles 用于嗅探来自您设备的流量。
https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/ https://www.telerik.com/fiddler
您可以使用的另一个有用的工具 - Stetho,您可以在此处找到有关如何启动它的详细说明: https://futurestud.io/tutorials/retrofit-2-log-network-traffic-with-stetho-and-chrome-developer-tools
您也可以使用 Android studio network profiler/inspector(取决于您使用的 Android studio 的版本有不同的名称) https://developer.android.com/studio/profile/android-profiler https://developer.android.com/studio/debug/network-profiler