【APP測試初體驗】android測試命令----adb常用命令

來源:互聯網
上載者:User

標籤:

--adb shell 命令
adb devices 查看裝置
adb shell
adb shell "ls -al /system/bin" >e:\a.txt
sample_rw 1 sid 13f1e2f4ed814690a918ac85f600458d 刷裝置ID
sample_rw 2 sid 查看裝置ID

adb shell input text "[email protected]"   發送文本

adb shell input keyevent ""   發送事件


adb logcat 即時列印日誌
adb logcat -d -v time >e:\aaa.txt
adb remount 重新掛在root許可權

 

 

支援的命令包括

adb   am   app_process   applypatch   applypatch_static   asan   asanwrapper   atrace   audioloop   awk   bdt   blkid   bmgr   bootanimation   bu   bugreport   cat   chcon   check_prereq   chmod   chown   cjpeg   clatd   clear   cluster   cluster_get.sh   cluster_set.sh   cmp   codec   content   corrupt_gdt_free_blocks   cp   dalvikvm   date   dcc   dd   debuggerd   dex2oat   dexopt   df   dhcpcd   djpeg   dmesg   dnsmasq   drmserver   du   dumpstate   dumpsys   e2fsck   find   flash_image   fsck.ext4   fsck_msdos   gdbjithelper   gdbserver   getenforce   getevent   getprop   getsebool   glgps_nvidiaTegra2android   gps_select.sh   gpslogd   grep   gsm0710muxd   gzip   hd   hdd_cfg.sh   hdd_fmt.sh   hdd_init.sh   hostapd   hostapd_cli   hotplug   id   ifconfig   iftop   ime   init_lbh.sh   input   input_cfboost_init.sh   insmod   installd   inv_self_test   ioctl   ionice   ip   ip6tables   iptables   keystore   keystore_cli   kill   linker   ln   load_policy   log   logcat   logwrapper   ls   lsmod   lsof   make_ext4fs   md5   mdnsd   media   mediaserver   mkdir   mkfs.ext4   mksh   mkswap   monkey   mount   mount_debugfs.sh   mtk_agpsd   mtpd   muxer   mv   nandread   ndc   netcfg   netd   netstat   newfs_msdos   notify   oatdump   parted   patch   perf   ping   ping6   pm   pngtest   pppd   printenv   ps   python   r   racoon   radiooptions   raydium_selftest   readlink   reboot   record   recordvideo   recovery   renice   requestsync   restorecon   rm   rm_test   rm_ts_server   rmdir   rmmod   route   run-as   runcon   sample_rw   schedtest   schedtop   screencap   screenrecord   screenshot   sdcard   sendevent   sensorservice   service   servicemanager   set_ext4_err_bit   set_hwui_params.sh   set_light_sensor_perm.sh   setconsole   setenforce   setprop   setsebool   settings   setup_fs   sf2   sh   showlease   sleep   smd   stagefright   start   stop   stop_start   stream   surfaceflinger   svc   swapoff   swapon   sync   tc test-wvdrmplugin   tinycap   tinymix   tinyplay   toolbox   top   touch   uiautomator   umount   updater   uptime   ussr_setup.sh   vdc   vmstat   vold   watchprops   wipe   wlbwservice   wm   wpa_cli   wpa_supplicant   xaplay   xargs  

 

【APP測試初體驗】android測試命令----adb常用命令

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.