Skip to content

Instantly share code, notes, and snippets.

@jostyee
Last active March 12, 2018 14:37
Show Gist options
  • Save jostyee/2aea5d383445d582284911208351c40f to your computer and use it in GitHub Desktop.
Save jostyee/2aea5d383445d582284911208351c40f to your computer and use it in GitHub Desktop.
设置Android检测网络URL
adb shell settings delete global captive_portal_https_url
adb shell settings put global captive_portal_https_url https://developers.google.cn/generate_204
adb shell settings put global captive_portal_other_fallback_urls https://www.qualcomm.cn/generate_204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment