简体   繁体   中英

Android 9 (Pie) - Not able to capture any api (native / web) through network monitoring tools such Charles proxy and Fiddler

I am trying to capture apis triggered from native app and website through Charles proxy / Fiddler , But I am not able to see any api there.

I have set manual proxy as well.

I am able to see apis for Android 8 and below . But not working for Android 9 .

In Android 9 , I could the screens getting loaded completely , but still I am not able to see the apis in any monitor.

Add android:usesCleartextTraffic="true" in AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="your pckag">

    <uses-permission android:name="android.permission.INTERNET" />


    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        android:usesCleartextTraffic="true">
</manifest>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM