1.手機(jī)連接Charles后,提示無(wú)網(wǎng)絡(luò)
解決方案:
proxy-Access Control Settings-add-0.0.0.0/0
操作如下圖

step 1.png

step 2.png
2.Charles 無(wú)法抓取 https的請(qǐng)求

2.1.png

2.2.png
3.Android 無(wú)法抓取 https的請(qǐng)求
解決方案:
Configure your device to use Charles as its HTTP proxy on 192.168.1.9:8888, then browse to chls.pro/ssl to download and install the certificate.
在手機(jī)瀏覽器中輸入
1.192.168.1.9:8888(根據(jù)自己的IP 和端口) 或 chls.pro/ssl 進(jìn)行證書(shū)下載
2.在安卓(本次使用機(jī)型為華為P20 - 安卓系統(tǒng)10-EMUI 10.0.0版本)手機(jī)中
設(shè)置 - 安全-更多安全設(shè)置 -加密和憑據(jù)-從存儲(chǔ)設(shè)備安裝
3.選擇下載的證書(shū)進(jìn)行安裝,可以通過(guò)存儲(chǔ)卡進(jìn)行查找
3.再使用就可以了

圖片.png