Android Debugging Bridge (ADB)
Turn from: http://emck.avaw.com/?p=116
The Android Debugging Bridge (ADB) is a versatile tool that can help you manage the status of your device or emulator.
There are several ways to join the ADB: Run the shell command on the device to manage the simulator or device copy from the emulat
Reading directory
I. debugging bridge ADB
Ii. What are the main functions of ADB?
I. debugging bridge ADBWhat is adb? What is the use of adb? How to Use the adb tool?
It is a general debugging tool used to manage simulators and real machines. It is powerful. You can directly open cmd to use the adb command. adb is called Android
Document directory
Connect to the database by running sqllite3 on a remote shell Client
UI/Software Test Procedure Monkey
Other shell commands
Use the logcat command
Filter log output
Control log output format
View available log Buffers
View stdout and stderr
Logcat command list
Android debugging bridge (adb) is a versatile tool that helps you manage the status of devices or simulators.
You can
debugging program that comes with it and connect the debugging program to a special port so that it can communicate with the application Virtual Machine on your device.
If you use the ADT (Android Development Tool) Plug-in for development in Eclipse, you can use the built-in Java * debugging program and use the DDMS (Dalvik debugging monitoring program server) to debug the application. To facilitate access
Android Debug Bridge: The ADB command uses the full path required to append Adb.exe to the path in the system environment traversal D:\IDE\adt-bundle-windows-x86-20130729\sdk\platform-toolsThe ADB devices lists all the devices---when adb.exe is not turned on. OpenADB start-server open adb service DDMS reset Yes, Adb.exe kill it and turn it on again.ADB kill-serve
Android project to facilitate code debugging.
You can follow '1' and '2' to add Android Framework support.
Add a breakpoint in the code, select 'run'-> 'Attach debugger to Android process', or directly click the icon shown in
In the displayed Choose Process dialog box, select all processes, select the Process where the code to
(such as the development of the app want to follow the SDK some of the source code can download Platform_frameworks_base project).
How to download the code for a project.
The classmate who used Git is sure, you can use the following command to get the code for the Remote warehouse:
The right column of the GitHub project page gives the warehouse URL, as shown belo
Android SDK Android NDK android Studio officialIf the download speed is too slow, please use thunder, Baidu cloud offline and other methods to download.For Linux systems, if you cannot upgrade online, see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.comHere are the various.
2014.7ADT BundleHttp://dl.goog
For debugging my cellphone (Motorola defy me525) problem, I want to debug my cellphone using Android toolbox.
1, preparations
Before starting to debug our Android-enabled cellphone, you need download USB driver for a specific brand and model. to defy me525, downloading
debugging tool adbwireless (attached airadb)Janrisun Attention 2017.01.11 16:22* words 1534 Read 4506 comments 4 likes
Adbwireless allows mobile phones to replace USB connections with wireless and use ADB toolsThe phone needs root and is in the same LAN as the computer (it can be connected to a mobile phone with a router or a computer)ADB (Android Debug Br
Android development can not be without the real machine debugging, the total use of data line Plug and unplug or not convenient and unstable, in fact, the way to achieve WiFi connection to the Android phone.
1. Of course first to open WiFi, mobile phones and computers in the same LAN.
2. Install adbwireless on the phone (Google play need to search for it), pay attention to the phone is the need to root.
/into eclipse, the error that cannot find the package usually occurs. SoHow can we modify, compile, and debug the android source code? What tools does Google use to develop android?
This question will be answered later.
The following describes how to establish an android development environment and how to use developme
This article from: http://www.cnblogs.com/yaotong/archive/2011/01/25/1943615.htmlIf the download is slow or cannot be downloaded, there are three ways to fix it1. Patience.2. Use P2SP download tools, such as Thunder, Baidu Cloud offline.3. You know.Cannot upgrade online please see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.com2014.7ADT BundleHttp://dl.google.com/
necessary to debug an Android application through a true machine:
Installing the USB driver
If you just want to copy files from your computer to your phone's memory card, you just need to connect your phone to your computer via a USB cable, and you don't need to install the driver, but if you want to debug your application with a real machine, you must install
Download Android Development sdk ndk and android development sdkndk
Version 2014.7
ADT BundleHttp://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zipHttp://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zipHttp://dl.google.com/
Step one: Andro to open developer mode and connect your phone and computer to the same LANPart Two: Download an adb wireless debugging software on your Android and open it. At this point, the software will display your phone's IP and port. Like mine is 192.168.1.100:55555.Part III: Enter the Platform-tools folder of the folder where the SDK is located. Make sure that the Adb.exe file existsFourth: Go to the
How to debug an application using a real machineIn the development of Android applications, sometimes the development has to use the real machine debugging, the reason is very simple, because the simulator is temporarily unable to support the simulation of some hardware devices, and gravity sensing a kind of development effect more need to use real machine debugging. Of course, the use of real-machine debug
Before introducing how to debug, you must first know whether the current system has been reflected or not? The following describes some common recognition methods:
CAT/proc/meminfo // roughly check the types of the current memory and the size of each type
PS // check the actual situation of each process
Top // see which processes are most used by the previous notebook
Dumpsys meminfo // Android-specifi
machine for debugging in eclipse.
Method for accessing android shell:
./Adb shell
After entering, you can do whatever you want. It is best not to delete or modify it.
Vi. adb applications
Adb (Android Debug Bridge) is a common tool for Android users. With this tool, we ca
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.