问题的原因是Andy模拟器上的Charles代理不支持TLS协议中的特定曲线ID(Curve ID)。为了解决这个问题,可以尝试以下两种方法:
方法1:更新Charles代理的配置文件
SSLv3
TLSv1
TLSv1.1
TLSv1.2
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA
方法2:禁用Andy模拟器的TLS安全性检查
qemu.hw.mainkeys=1
qemu.gles=0
qemu.sf.fake_camera=none
qemu.sf.lcd_density=240
qemu.sf.density=240
qemu.sf.size=480x800
qemu.hw.mainkeys=1
qemu.sf.lcd_dpi=320
qemu.sf.lcd_xdpi=320
qemu.sf.lcd_ydpi=320
hw.mainKeys=no
hw.keyboard=no
hw.ramSize=1024
hw.gpu.enabled=yes
hw.gpu.mode=auto
hw.gpu.blacklisted=no
hw.gpu.codename=swiftshader
hw.gpu.name=Android Emulator
hw.initialOrientation=portrait
hw.camera.back=none
hw.camera.front=none
hw.dPad=no
hw.trackBall=no
hw.keyboard.lid=no
hw.keyboard.charmap=Emulator
hw.gsmModem=no
hw.umts.phone=yes
hw.battery=yes
hw.accelerometer=no
hw.gyroscope=no
hw.audioInput=yes
hw.audioOutput=yes
hw.sdCard=no
hw.sdCard.path=
hw.sdCard.size=0
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.sensors.temperature=yes
hw.useext4=true
hw.arc=false
hw.arc.autologin=true
hw.arc.keep_shared=false
hw.arc.starting_density=160
hw.arc.max_dpi=480
hw.arc.display_dpi=240
hw.arc.api.level=23
hw.arc.vm_heapsize=128
hw.arc.memory=1024
hw.arc.patch_perf=true
hw.arc.disable_gl_texture_view=false
hw.arc.disable_futex=1
hw.arc.patch_perf=false
hw.arc.disable_pvr_emulation=true
hw.arc.disable_lock_profiling=true
hw.arc.disable_boot_audio=true
hw.arc.audio_track_lag=80
hw.arc.use_rings=false
hw.arc.override_egl_swapinterval=false
hw.arc.use_hwrotation=true
hw.arc.use_swrotation=true
hw.arc.use_smooth_tearing=true
hw.arc.use_dithering=true
hw.arc.use_smooth_tearing_vulkan=true
hw.arc.use_vulkan=true
hw.arc.use_opengl=true
hw.arc.gles=on
hw.arc.compatibility=v1
hw.arc.avd_id=AndroidEmulator
hw.arc.sdcard.path=
hw.arc.sdcard.size=0
hw.arc.sdcard.is_present=false
hw.arc.network.latency=none
hw.arc.network.speed=full
hw.arc.network.proxy.type=none
hw.arc.network.proxy.address=
hw.arc.network.proxy.port=0
hw.arc.network.proxy.exclusion=
hw.arc.network.forwarding.type=none
hw.arc.network.forwarding.address=
hw.arc.network.forwarding.port=0
hw.arc.network.forwarding.exclusion=
hw.arc.network.dns1=
hw.arc.network.dns2=
hw.arc.network.dns3=
hw.arc.network.dns4=
hw.arc.network.dns5=
hw.arc.network.dns6=
hw.arc.network.dns7=
hw.arc.network.dns8=
hw.arc.network.dns9=
hw.arc.network.d