1) START ADB
C:\Users\ganesh.v\.android>adb
2)KILL THE ADB SERVER
C:\Users\ganesh.v\.android>adb kill server
3) sTART THE ADB SERVER
C:\Users\ganesh.v\.android>adb start server
4)ADB LOGGCAT
C:\Users\ganesh.v\.android>adb logcat
5) OPEN LINUX SHELL
C:\Users\ganesh.v\.android>adb shell
6)START ACTIVITY
C:\Users\ganesh.v\.android>adb shell am start -n com.gani.vt/com.gani.vt.Main
7) RE INSTALL APPLICATION
use the application path to install in to the device or emulator through the system.
C:\Users\ganesh.v\.android>adb install -r D:\projects\AsyncTaskData\bin\AsyncTaskData.apk
8)INSTALL APPLICATION
C:\Users\ganesh.v\.android>adb install D:\projects\AsyncTaskData\bin\AsyncTaskData.apk
9)Install application with multiple devicesattached.
adb -s device-id install apk name
10) UN INSTALL THE APPLICATION
use package structure to uninstall the application through the device
C:\Users\ganesh.v\.android>adb uninstall com.gani.vt
11) Instrumentation test commands for robotum
adb shell am instrument -w com.votary.navDistance/android.test.InstrumentationTestRunner
No comments:
Post a Comment