1.adb devices Check device connection status
state value | meaning |
---|---|
offline | It indicates that the device has not successfully connected or unresponsive |
device | The device is connected |
no device | No device / simulator |
adb -s cf264b8f install test.apk <== assigned cf264b8f mounted apk
2. The connection terminals: adb connect ip can specify the connection terminals Ip Ip
3. Print log: adb logcat -v time -> \\ android.log output log to the specified file into the first save of the catalog ctrl + c to stop.
Classifying meanings
V Verbose (lowest output up)
D the Debug
W is Warning
E Error
F. Fatal
S Silent (up, what is not output)
4. Start and Stop: adb start-server / adb kill -server
The installation and uninstallation: adb install apk file name <== install application package name adb uninstall applications <== uninstalling
6. Copy the files inside the terminal to a computer: adb pull sdcard / pull.txt d: \ rename.txt Conversely adb push d: \ push.txt sdcard /
7. adb root
Or adb remount
you can get permission Andrews machine, and mount the file system read-write system, but is limited to the development of millet phone