adb shell settings put global captive_portal_mode 0
adb shell settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204
#小米部分手机设置120刷新率
adb shell settings put system min_refresh_rate 120
adb shell settings put system peak_refresh_rate 120
# 所有应用隐藏导航栏
adb shell settings put global policy_control immersive.navigation=*
# 查看系统设置
adb shell settings list system
adb shell settings list global
adb shell settings list secure
# 解决原生系统数据或者wifi的问题,而且新版的chrome浏览器明明已经联网但是却显示没有网络的问题。
adb shell settings put global captive_portal_mode 0
adb shell settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204
#小米部分手机设置120刷新率
adb shell settings put system min_refresh_rate 120
adb shell settings put system peak_refresh_rate 120
# 所有应用隐藏导航栏
adb shell settings put global policy_control immersive.navigation=*
# 查看系统设置
adb shell settings list system
adb shell settings list global
adb shell settings list secure
# 解决原生系统数据或者wifi的问题,而且新版的chrome浏览器明明已经联网但是却显示没有网络的问题。
adb shell settings put global captive_portal_mode 0
adb shell settings put global captive_portal_http_url http://www.qualcomm.cn/generate_204
adb shell settings put global captive_portal_https_url https://www.qualcomm.cn/generate_204
#小米部分手机设置120刷新率
adb shell settings put system min_refresh_rate 120
adb shell settings put system peak_refresh_rate 120
# 所有应用隐藏导航栏
adb shell settings put global policy_control immersive.navigation=*
input,模拟按键/输入。
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# 打卡浏览器
adb shell input keyevent 64
# 点击
input tap x y
# 滑动
adb shell input swipe x y x y
# 输入文本
adb shell input text hello
# 长按
input press 3001000
# 打卡浏览器
adb shell input keyevent 64
# 点击
input tap x y
# 滑动
adb shell input swipe x y x y
# 输入文本
adb shell input text hello
# 长按
input press 300 1000
# 打卡浏览器
adb shell input keyevent 64
# 点击
input tap x y
# 滑动
adb shell input swipe x y x y
# 输入文本
adb shell input text hello
# 长按
input press 300 1000
logcat,查看日志,方便提交bug。
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
adb logcat "*:W"
# 日志输出级别
V —— Verbose(最低,输出得最多)
D —— Debug
I —— Info
W —— Warning
E —— Error
F —— Fatal
S —— Silent(最高,啥也不输出)
# 清理日志
adb logcat -c
adb logcat "*:W"
# 日志输出级别
V —— Verbose(最低,输出得最多)
D —— Debug
I —— Info
W —— Warning
E —— Error
F —— Fatal
S —— Silent(最高,啥也不输出)
# 清理日志
adb logcat -c
adb logcat "*:W"
# 日志输出级别
V —— Verbose(最低,输出得最多)
D —— Debug
I —— Info
W —— Warning
E —— Error
F —— Fatal
S —— Silent(最高,啥也不输出)
# 清理日志
adb logcat -c