什麼是 adb ?

發現自己寫了三篇文章都有用到adb。
1. 利用 adb 安裝 apk 到裝置上
2. set Android error log on Eclipse
3. How to Uninstall APK Files from Android Device Emulator

卻都沒有好好介紹一下什麼是adb :

Android Debug Bridge (adb) is a versatile tool that lets you manage the state of a device or emulator.

Some of ways you can use adb include:

* Run shell commands on a device
* Manage port forwarding on an emulator or device
* Copy files to/from an emulator or device

參考連結:

goolge 說明文件 adb

--

如果要做些簡單的測試的話,也可以用adb叫起一個有趣的東西

UI/Application Exerciser Monkey

The Monkey is a program that runs on your emulator or device and generates pseudo-random streams of user events such as clicks, touches, or gestures, as well as a number of system-level events. You can use the Monkey to stress-test applications that you are developing, in a random yet repeatable manner.

Here is a more typical command line, which will launch your application and send 500 pseudo-random events to it:

$ adb shell monkey -p your.package.name -v 500

留言

Google

本月熱門文章

水電行介紹---台北市大同區塔城街17號的富安水電行---斷垣殘壁內找到的甲級電匠師傅^^!!

熱門文章

企鵝妹/柳允進 史上最暈的TT三分鐘完整版一次看個夠

香港朋友,真的對唔住,台灣出了這種中共的幫兇!

陳昇 Bobby Chen【把悲傷留給自己 I left sadness to myself】Official Music Video

裝潢師傅貼圖來了唷

[黑金] 台南88槍擊案主犯國民黨學甲區黨部主委王文宗 也擔任統促黨幹部

新手自建監控雲最快的方式:推薦QNAP NAS 搭配QVR Pro

堅持5個月!反送中示威者六大特色 6 features of Hong Kong Anti-ELAB Protesters│老外看香港│郝毅博 Ben Hedges│新唐人電視台

香港朋友看服貿 - 嗨,我是香港人,一個CEPA的受害者。