WispZhan
2018-04-05 12:16:42 +08:00
看 Charles 文档和 Andorid 文档,Android N 以上的版本已经修改了这个机制。
As of Android N, you need to add configuration to your app in order to have it trust the SSL certificates generated by Charles SSL Proxying. This means that you can only use SSL Proxying with apps that you control.
In order to configure your app to trust Charles, you need to add a Network Security Configuration File to your app. This file can override the system default, enabling your app to trust user installed CA certificates (e.g. the Charles Root Certificate). You can specify that this only applies in debug builds of your application, so that production builds use the default trust profile.
建议用 root 方式,或者 vpn 方式。或者找低版本 Android