In our daily troubleshooting, there are many scenarios where developers need to provide relevant request information or advertising materials to us to locate problems. The following instructions will explain how to get Charles Proxy logs or obtain effective logs.Usage scenarios include but are not limited to the following scenarios:
400xx
or 20001
.Please ignore step 1 for iOS devices
Configure the network_config.xml
file in Android Studio
Then update the AndroidManifest.xml
file to use the configuration.
a. Go to Proxy > SSL Proxying Settings, select Enable SSL Proxying and click Add, then add *
and *:443
and click OK.b. Go to Help > SSL Proxying > Install Charles Root Certificate and then install this certificate.
a. Click Settings > Wi-Fi and select your Wi-Fi network.b. Click the Show advanced options.c. Choose Proxy settings, select the manual option, and enter the IP address from your desktop/laptop in the Proxy hostname field. Then enter 8888 in the Proxy port field. Then save it.d. Using your phone and then browsers to chls.pro/ssl
to download and install the certificate.e. You should see an alert asking if you want to allow your mobile device to connect to Charles. Select Allow.
a. Click Settings > Wi-Fi and select your Wi-Fi network.b. Select HTTP Proxy, and then click the manual buttonc. enter the IP address from your desktop/laptop in the host field. Then enter 8888 in the port field. Then save it.d. Using your phone and then browsers to chls.pro/ssl
to download and install the certificate.e. You should see an alert asking if you want to allow your mobile device to connect to Charles. Select Allow.
The validity of the log can be verified by searching for the Pangle field related to settings or get_ads in the path
Notice: If you are using bidding ads, it won't have the get_ads log.
Please send us the following information to locate the problems.
After you initialize the Pangle's SDK, please add two lines
PAGConfig.debugLog(true);
TTAdSdk.getAdManager().openDebugMode()
TTAdSdk.getAdManager().debugLog(1)
And try to request an adYou can see the log printed by pangle in the consoleWe only support this function in version 4.9.0.3 and above, please make sure that your SDK version is above 4.9.0.3
[[PAGConfig shareConfig] setDebugLog:YES];
Please send us the following information to locate the problems.
By using this function, you need to update Pangle SDK to v45 and above
···