Software required: Android platform-tools http://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip
1. DownloadDecompress the above software
# UnzipPlatform-tools_r03-linux.zip
2. Add the path to the PATH variable.
# Vim ~ /. Bashrc
# Source ~ /. Bashrc
3. Use ADB and USB cable to connect the development board to the host
#
Scene:1. As a bridge between PC-side and mobile-phone communication, ADB plays an important role in debugging mobile app and viewing mobile phone information.2. Some of the more useful commands are listed here to facilitate quick check.To view a list of devices on which USB debugging is turned on: ADB devices install APK: adb-s xxxxx (device serial number, usi
Android can view the system database under ADB, androidadb
Recently, we have a requirement that we need to obtain the database data of the system without using apk. OK, let's look at how to implement it. Of course, in the ADB operating system database, you must have the root permission.
1. ADB connects to the mobile
The ADB shell is often used during the development of Android applications, where a simple summary of the general commands is made.The content includes DOS, Linux, Shell three blocks (obtained through access to books and web data).1. First look at commands under Windows DOScd--changing the current directorydir--Displaying folder Contentsmd--Creating subdirectoriescopy--Copy Filesmove--Moving filesdel--Delet
After such a long period of development and management, the command is always self-viewed, but the sharing process on the command is often ignored. So now I just needIts command-related operations can be used for simple literacy, and the system also grants them fishing instead of fish in this way. Well, I will display it in graphic mode, of course, my habit is to read the help document or command first. The ADB command we want to explain here today ca
APK Package Installation steps:1, first will be. /android-sdk/platform/tools Add both path path2. In the console window, go to the directory where your APK package resides3, Input: Abd Unremount, the first time you use this command, you need to get the operation permission of the command4. Open Android Emulator5, execute in console: adb install package name. apk6
ArticleDirectory
Under normal circumstances, as long as the local ADB is available, the mobile phone is connected to the mobile phone via USB and then automatically enumerated. Do not install the mobile phone driver in windows,
Under normal circumstances, as long as the local ADB is available, the mobile phone is connected to the mobile phone via USB and the
We want to see the Web request from our app when we develop the mobile app, and we need to tcpdump the tool to grab the packet. The following steps are required to implement the Tcpdump capture package:Here is an example of Huawei P6 Android phone1. Phone rootTo use the Tcpdump tool, you must first get the root permission of the phone, tried several root tools, and finally found that the 360 one-click Root tool can be used to P6 this machine rootDownl
In mobile phone development app when we want to be able to see the app network making requests, this time we need to tcpdump toolkit capture. To achieve tcpdump ethereal, the following steps require:Here, on Android Huawei Mobile phone P6 for samples1. Phone rootTo use the Tcpdump tool. You must first get the root permission of the phone and try several root tools. Finally found 360 one-click Root tool to P6 this machine rootDownload the PC version of
Android Deep Exploration ( volume 1) HAL with Drive Development Chapter I Android system porting and driving development Overview reading notesThis chapter isAndroidsystem porting and Driver development Overview of the specific explanation. First,Androidis divided into four layers of architecture. At the bottom of it isLinuxkernel. And then, respectively,C + +cod
Android uses adb pull or push to copy the mobile phone file to the computer, copy the mobile phone database to the computer, and copy the computer database to the mobile phone,
Let's talk about the adb command configuration first. If adb is not an internal or external command, it is not a runable program or batch file.
Android Recovery support adb shellThe recent development process noted that recovery does not support adb shell. For ease of debugging, decide to add this feature.We started with the user version number system and entered recovery after entering the ADB shell command. Tip "Error:no devices/emulators found". We first co
Ubuntu using ADB to connect Android phone failed unknown solution methodThe ADB may not be able to recognize the device after it is connected to the G11 phone via a USB cable under Ubuntu. Follow the steps to resolve this issue.1. Enter the LSUSB below terminal[Email protected]:~$ LsusbBus 001 Device 002:id 8087:8008 Intel Corp.Bus 002 Device 002:id 8087:8000 Int
Ext.: http://blog.csdn.net/wangdong20/article/details/20839533Do Android debugging often encounter, the program is written, ready to connect to the phone debugging, can appear in a few momentsI believe that the students who have done Android debugging have encountered this problem, online said kill off with the ADB-related process, restart eclipseBut I didn't see
Ubuntu using ADB to connect Android phone failed unknown solutionThe ADB may not be able to recognize the device after it is connected to the G11 phone via a USB cable under Ubuntu. Follow the steps to resolve this issue.1. Enter LSUSB below the terminal[Email protected]:~$ LsusbBus 001 Device 002:id 8087:8008 Intel Corp.Bus 002 Device 002:id 8087:8000 Intel Corp
The ADB full name is Android Debug Bridge, which is the role of the Debug bridge. Used to manipulate Android devices.Read CatalogueWhat's the use of ADBWith the ADB tool, we can manage the status of the device or phone simulator, and can do a lot of phone operations, such as installing software, system upgrades, runnin
Http://www.miui.com/article-275-1.htmlhttp://noobjava.iteye.com/blog/1914348ADB shell command detailed, AndroidBlog Category:
Android
Common:1. Enter the shell mode of the simulator:ADB shell2. Install the application:ADB install-r application. apkADB installADB install ADB install-r Note: APK file name does not use Chinese and does not have a space number3. Unloading APK Package:ADB shellCD D
apply. For example, if you want to see HTTP traffic: Listen only for HTTP adb shell tcpdump-x-n-s0Port the Based on the above information, write a bat to execute (the tcpdump file must be in the current directory). Start tcpdump ADB push Tcpdump/data/local/tcpdump ADB shell chmod 6755/data/local/tcpdump ADB Shell Rm
ServiceADB start-server13. Close the ADB serviceADB kill-server14. Visit Sqlite3ADB shellSqlite315. Restart the deviceADB reboot16, hanging in the partition (can make the system partition can be re-writable)ADB remount17, the release port (can be set any port number, as the host to the emulator or device request port)ADB forward tcp:5555 tcp:800018. Shutdown com
ADB is a bridge between PC and device and can be operated by ADB on devices.
ADB devices List your devices
ADB kill-server kill adb Service (try if the device is connected to a problem)
ADB start-server restart
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.