Tags: adb push apk mod devices command sequence image computer sharing1. View the device ADB devices View the currently connected device, the Android device that is connected to the computer, or the emulator will list the display 2. Installing the software ADB install [-r] [-S] Installs the specified APK file on the device. -R forced installation (in some cases,
When developing Android apps, we use a series of tools included in the Android SDK, maybe we call through eclipse, or we can manually enter and execute them by opening the terminal, let's learn the development of these tools together.1.Android Debug Bridge1.1 IntroductionAndroid Debug Bridge, we are generally referred to as ADB, mainly in the SDK installation directory under the Platform-tools folder, it is a very powerful command line tool, through t
The full name of the ADB, Android Debug Bridge, is a tool in the Android SDK that allows you to manipulate the Android emulator or the real andriod device directly. It mainly has the following functions:1. Shell running the device (command line)2. Port mapping for Management simulator ring device3. Upload/download files between computer and device4. Install the local APK software to the simulator ring Android deviceadb tool Location:adb source locatio
1. Send Keyboard Events:
Command Format 1: adb shell input keyevent "value"
The value and corresponding key code are listed in the following table:
KeyEvent ValueKEYCODEComment0KEYCODE_UNKNOWN1KEYCODE_MENUThe command in the SDK2.1 simulator is invalid, and the sendevent command is feasible.2KEYCODE_SOFT_RIGHT3KEYCODE_HOME4KEYCODE_BACK5KEYCODE_CALL6KEYCODE_ENDCALL7KEYCODE_08KEYCODE_19KEYCODE_210KEYCODE_311KEYCODE_412KEYCODE_513KEYCODE_614KEYCODE_715KEY
Simulator 1.5: AVD creation, ADB Command StrategyDownload the android SDK or ophonesdn from Google to download the ophonesdk. decompress the SDK and create a tool folder under the root directory of the SDK. Double-click emulator.exe to directly start the simulator.Simulator 1.51. simulator appearance customization:480x320, landscape: emulator-skin HVGA-L320x480, portrait: emulator-skin HVGA-P (default)320x240, landscape: emulator-skin QVGA-L240x320, p
In the Android development environment, ADB is our most frequently used debugging tool for Android development, and its use is of course what our Android developers have to master.ADB overviewAndroid Debug Bridge,android Debug Bridge, abbreviated as ADB, is a universal tool for managing emulator or real state, using the client-server model, consisting of three parts:1, the client part, running on the develo
Part 1:1. Configure the environment anroid variable in ubuntu:Run sudo gedit/etc/profile on the terminal to open the text editor and append # set android environment2. To run Eclipse, you also need to configure JAVA environment variables.# Set java environmentJAVA_HOME =/home/loginname/jdk directory nameJRE_HOME =/home/loginname/jdk directory name/jreExport PATH = $ JAVA_HOME/bin: $ JRE_HOME/bin: $ PATHExport CLASSPATH = $ JAVA_HOME/lib: $ JRE_HOME/lib: $ CLASSPATHExport PATH =/home/loginname/an
1. display all android platforms in the system:
Android list targets
2. Display All AVD (simulators) in the system ):
Android list AVD
3. Create an AVD (simulator ):
Android create AVD -- name -- Target Platform ID
4. Start the simulator:
Emulator-AVD name-sdcard ~ /Name. IMG (-skin 1280x800)
5. Delete AVD (simulator ):
Android Delete AVD -- name
6. Create an sdcard:
Mksdcard 1024 M ~ /Name. img
7. AVD (simulator) Location:
Linux (~ /. Android/AVD) Windows (C: \ Documents ents and Settings \ Adm
The following lists the software in the mobile phone through the PM list packages-F, and then compares it with the software in the simulator to obtain a list that can be safely uninstalled.
Note: Google market is unavailable after uninstallation, and you still want to use Google market instead of uninstallation.
First enter ADB shell, then mount-O remount, RW/dev/block/mtdblock2/system, and then execute the following command to delete it.
Rm/system/A
Adb push command, adbpushRecently, I just got started with a tool (command). What command? It is the adb command. This command is purely a mouse and does not understand anything. So we can only adb -- help the parameter and then try to use it.
Today, we have encountered a problem where we need to copy a file to a midrange computer. A midrange computer can be unde
Adb push command, adbpush
Recently, I just got started with a tool (command). What command? It is the adb command. This command is purely a mouse and does not understand anything. So we can only adb -- help the parameter and then try to use it.
Today, we have encountered a problem where we need to copy a file to a midrange computer. A midrange computer can be und
Tags: adb push--usage article device Font ACE class ack recently contacted a tool (command), what command? is the ADB command, the command is purely a small white mouse, do not understand anything, so only the ADB--help the number of references. Then try to use it. today encountered a problem, need to copy a file to the small machine, the small machine can be un
In fact, most of the PC development machine and Android devices are done through the ADB (Android Debug Bridge) technology, which is a C/s Architecture command-line tool, mainly composed of three partsA command-line client running on a PC development machine: It can install, uninstall, and debug an application running on a PC development server: It manages the client-side link to the ADB background process
Referring to Adb.exe, friends who have been concerned about our Android series tutorials should not be unfamiliar, because we operate the Android phone directly via ADB regardless of the root authority or the machine, but probably most of the ADB is only limited to the one step of the brush tutorial, Does not have an in-depth and comprehensive understanding of it. Now I will give you Android phone fans to e
Thank the original author, transfer from blog: http://www.otechu.me/zh/2011/12/filtering-adb-logcat-output/This article describes several tips on how to filter the ADB logcat output from the shell command line .Development often see other people's log like a flood of instant fill the screen, to their useful information is drowned, affect the mood also affect efficiency. Here are a few of the filtering metho
Tags: reinstall serial number using otherwise force inux debug Tor HTML When it comes to the ADB everyone should be not unfamiliar, that is, Android debug Bridge,android Debug Bridge, as the Android development of us, skilled use of the ADB command will greatly enhance our development efficiency, the ADB command a lot, today to summarize the development of some o
I. Conventional restoration and recovery The entire recovery process of RMAN can be divided into a restore and a recover. They have a very different meaning. One is the restoration and copying of physical files, one is the restoration of Database Consistency. Therefore, a correct understanding of these two concepts will help you recover the database correctly.For RMAN backup, The Restoration Operation can only be performed using the RMAN or RMAN packa
[Android] _ [elementary] _ [adb practical command]
Scenario:
1. ADB serves as a bridge between pc and mobile phone, and plays an important role in debugging mobile apps and viewing mobile phone information.
2. Some useful commands are listed here for quick query.
View the list of devices that enable USB debugging: adb devices APK:
Reproduced:I. Introduction of ADBThe SDK's Tools folder contains an important command of the Android emulator Operation ADB,ADB is all called (Android Debug Bridge is the role of debug bridges. With ADB we can debug Android programs via Ddms in Eclipse. With this tool, we can manage the status of the device or phone simulator. You can also do the following:1. Qui
I. Introduction of ADBThe SDK's Tools folder contains important commands for the Android emulator Operation ADB,ADB is called (The Android Debug Bridge is the function of the debugging bridges.) Through the ADB we can debug the Android program through DDMS in Eclipse. With this tool, we can manage the status of the device or phone simulator. You can also perform
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.