From 5bbc71e9cf0d8786e0d47050d06322eb559f45f3 Mon Sep 17 00:00:00 2001 From: lagel Date: Wed, 6 Jan 2016 14:18:54 +0800 Subject: [PATCH] Add adb commands --- pages/common/adb.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/adb.md diff --git a/pages/common/adb.md b/pages/common/adb.md new file mode 100644 index 0000000000..59c4ec967a --- /dev/null +++ b/pages/common/adb.md @@ -0,0 +1,19 @@ +# Android Debug Bridge + +> Communicate with an Android emulator instance or connected Android devices + +- Check whether the adb server process is running and start it + +`adb start-server` + +- Terminate the adb server process + +`adb kill-server` + +- Start a remote shell in the target emulator/device instance + +`adb shell` + +- Push an Android application to an emulator/device + +`adb install -r {{apk.path}}`