adb logcat -v time >e:\031x.log(日誌抓取)
adb shell screencap -p /sdcard/sc.png(截圖)
adb shell → ps | grep com.nd.*(關閉程序)
ipconfig(ip位址)
adb shell netcfg(連線網路)
adb shell ip -f inet addr show wlan0(連線的網路ip)
adb shell dumpsys cpuinfo apk包名
adb shell pm list packages(查詢apk包名)
如何用adb獲得手機裡面某個apk的應用資訊、版本資訊
adb shell dumpsys package com.examle.xx(包名)
adb shell dumpsys 列出所有
adb shell dumpsys cpuinfo |grep packagename(某個包cpu佔用率)
adb shell dumpsys meminfo(檢視記憶體)
adb shell meminfo pid(活動記憶體)
adb shell
tinycap sdcard/1.pcm (錄音抓取,需解除安裝聲控apk)
chmod 777 system/bin/tinycap(檔案路徑)開啟許可權
exit
adb pull sdcard/1.pcm ./
top -m 10 -s cpu(記憶體監控)
logcat -f /sdcard/log.txt &
adb shell monkey -s 6516 --throttle 200 --ignore-crashes --ignore-timeouts --ignore-security-exceptions -v 20000000
monkey -p com.android.mms --throttle 1000 -s 100-v -v -v 15000 > /mnt/sdcard/monkey_test.txt &\
adb shell monkey -p com.htc.weather –p com.htc.pdfreader -p com.htc.photo.widgets 100
adb device ll /mnt/internal_sd
adb logcat >log.cap
① adb push rk3288-ota-eng.huangmh-1608231547.zip /mnt/internal_sd/package.zip
② adb push command /cache/recovery
③ adb reboot recovery(啟動recovery)
adb uninstall com.uurobot.wansita
adb install com.uurobot.wansita
d:\kwdownload\song>adb pull sdcard/zndn.apk
d:\kwdownload\song>adb pull sdcard/nd/"maroon 5-sugar.***"
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear
Android(安卓)adb指令
第4天 adb是什麼?android debug bridge 說白了就是debug工具。adb有什麼用?借助adb工具,我們可以管理裝置或手機模擬器的狀態。還可以進行很多手機操作,如安裝軟體 系統公升級 執行shell命令等等。adb怎麼用?1.eclipse 與手機連線時出現問題之一 2014 ...
安卓筆記 adb命令
android除錯橋 adb 是乙個多用途命令列工具,允許開發人員與模擬器或者連線的安卓裝置進行通訊,它是由三個部分組成的客戶端 伺服器程式。adb命令位於platform tools資料夾中。查詢模擬器 裝置例項 adb devices指定模擬器 裝置例項 adb s 序列號 執行命令 如 adb...
安卓adb命令使用
3188板卡 安卓4.4.4 系統 檢視連線到pc的安卓裝置 d scrcpy win64 adb devices list of devices attached qk214qz7jd device將pc檔案 push到安卓裝置上 d scrcpy win64 adb push d adb pus...