The students who need to use the ADB command to connect to the debug tablet can refer to (below is the official Android document, a bit old).http://donandroid.com/how-to-install-adb-interface-drivers-windows-7-xp-vista-623Install Google usb driver in 1.android Studio and res
ADB, short for Android debug bridge, is a tool in the android SDK. It can be used to directly manage Android simulators or real Android devices (such as G1 ~ 8 mobile phones ).
Its main functions include:
Run the shell of the device (command line)Manage port ing betwe
The tools folder of the SDK contains the android operation's Important Command ADB. The ADB is called (Android debug bridge is the function of debugging bridge. Through ADB, We can debug the android program through ddms in eclipse
allow running as root in Userdebug builds if the
//Service.adb.root property had been set by the "ADB root" command
Property_get ("ro.debuggable", Value, "");
if (strcmp (Value, "1") = = 0) {
Property_get ("Service.adb.root", Value, "");
if (strcmp (Value, "1") = = 0) {
secure = 0;
}
}
}
}
return secure;
#endif/* Allow_adbd_root */
}
Specifically how to reduce permissions:[CPP]View PlainCopy
if (Should_drop_pri
Adb:android Debug Bridge Android DebugPath: Adt-bundle directory/sdk/platform-tools/adb.exeCommon ADB commands:ADB devices list of all launched emulatorsADB Start-server launches ADB serviceADB kill-server stop ADB serviceAfter the ADB shell can execute the Linux shell comma
Android ADB obtains the root permission
(1) In Android compiled by myself, the ADB shell automatically obtains the root permission (that is, the display # instead of $ ):
Method:
Modify./Default. Prop
Set Ro. Secure to 0, persist. Service. ADB. Enable to 1, and the adbd
thisFunction)Solution: add the header file # include 5. usb otg connected to PCUSB 1-2: device descriptor read/64, error-62Hub 1-0: 1. 0: Unable to enumerate USB device on Port 2
USB 1-2: New full speed USB device using s3c2410-ohci and address 2USB 1-2: device descriptor read/64, error-62USB 1-2: device descriptor read/64, error-62USB 1-2: New full speed USB device using s3c2410-ohci and address 3Enabling ADBAdb_openUSB 1-2: device descriptor read/64, error-62USB 1-2: device descriptor read/64
Android: Commonly Used adb commands1. List the current configurations:Adb devicesFor example:Localhost :~ Newuser $ adb devicesList of devices attachedBH903QDW15 device41008990d29eb000 device2. For a deviceAdb-s
For example:
Adb-s BH903QDW15 install hello.apk
3. Install the app
Android Virtual Machine adb shell sqlite3 database, Android sqlite3
Adb shell connection:
// Http://www.cnblogs.com/xiaobo-Linux/
Android stores all data in the data/data directory.
Run the cd command to go to the data/data directory:
Cd/data
LsCommand, you will see Stud
Here are some of the ADB's useful commands that I found on Android. You can manually or use the automated build and test process.
View Device
Copy Code code as follows:
ADB devices
Connect to a target device using the use Adb-s device_id if multiple device connections
Installation Application
Install a APK package using the Install comma
We can always see in Android development that the log log content of the program is full of screens, and the information that really makes sense to the developer is submerged in the torrent, leaving developers at a loss and seriously impacting development efficiency. This article introduces several ways to filter adb logcat output in the shell command line.
1, only show the required output (white list)
Th
Summary of commonly used ADB directives:1. Device. apk fileThen: If it is only a simulator.>ADB instal/hello.apkIf there are multiple simulators. such as: need to develop the equipment on which simulator.Application: >adb Devic command to check the title of the simulator when workingThen: >adb-semulator-5556 instal/hel
Mount the/system/app/directory as read-write:>adb ShellShell @android:/$suSU Shell @android:/#mount-o rw,remount yassf2/system/Shell @android:/#chmod 777/system/app/ Files that are usually push into the phone's memory also need to be set to read R write W to perform the X attribute:chmod 644 xxxxxx Commonly used
1. Key wizard and carefree Android ADB connectionInstall the key wizard and carefree Android two software I don't have to say more. Install the three files under the Happy Android installation directoryAdb.exe,adbwinapi.dll,adbwinusbapi.dllCopy all toKey Wizard Phone Assistant installation directory in the \
ADB shell commandTo put it simply, the ADB command is a command that comes with the ADB program, while the ADB shell is a command from the Android system that is called, and these commands are placed in the System/bin directory of the An
Android Buffet for the ADB usage scenario
Android Buffet for the ADB usage scenario
Command List
Command List
ADB devices List of all devices
ADB start-server open ADB
We can always see in Android development that the log log content of the program is full of screens, and the information that really makes sense to the developer is submerged in the torrent, leaving developers at a loss and seriously impacting development efficiency. This article introduces several ways to filter adb logcat output in the shell command line.
1, only show the required output (white list)
Th
First, what is the ADB?1.ADB Full name Android Debug Bridge, a tool in the Android SDK that allows you to manipulate the Android emulator or the real andriod device directly2.ADB is a "client-server Side" programClient refers to a
Http://stuffandtech.blogspot.jp/2012/03/android-quick-tip-adb-over-wifi.htmlMar26android Quick tip-adb over Wifisomeone I had the pleasure of working with recently showed me something extremely co OL for Android Development. It's simply that it's possible to use the ADB (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.