Guxiaonian HttpCanary Save

【Android】 Android开发工具之http请求日志打印

Project README

HttpCanary

AndroidHttp请求打印输出

Download GitHub issues GitHub forks GitHub stars GitHub license


依赖

debugImplementation  'fairy.easy.httpcanary:httpcanary:{latestVersion}'

说明

本产品以SDK的形式来获取本应用所有网络请求的详细信息。

步骤说明

  1. 给予读写权限,生成证书
  2. 安装证书
  3. 开启全局代理,如果不开启,默认抓取当前应用的网络请求
  4. 给予本应用root权限,获取流量发送方的详细信息(手机需root)
  5. 证书迁移至系统目录下(手机需root)
  6. 开始抓包

界面展示

注意事项

  1. targetSdkVersion设置为27及以下
  2. 添加1.8版本
 compileOptions {
        targetCompatibility 1.8
        sourceCompatibility 1.8
    }
  1. 添加multiDexEnabled true
Open Source Agenda is not affiliated with "Guxiaonian HttpCanary" Project. README Source: guxiaonian/HttpCanary
Stars
143
Open Issues
7
Last Commit
1 year ago
License
Tags

Open Source Agenda Badge

Open Source Agenda Rating