Run Android Studio, always tip: Error running app:instant run requires ' Tools | Android | Enable ADB integration ' to is enabled.As you can see from this tip, this should be an "on-the-fly" problem, in order to be able to continue knocking on the code, find a temporary solution: in
1.Connect andriod Device to your Linux * * * *.
2.Use "Lsusb".
Use LSUSB to check the Android device ID into USB subsystem, like below (Does not care "$"):
$ lsusb
Bus 001 Device 002:id 0fce:6156 Sony Ericsson Mobile
Number "0FCE" is the Andriod device ID of use subsystem.
3.Update adb tool.
Turn to Android SDK folder "Tools", Typein below words:
$./
Transferred from: http://blog.csdn.net/linweidong/article/details/6273507Demand:Android APK gets Mobile information and sends results to PC clientNote Place:1.android default phone-side IP is "127.0.0.1"2. To connect the PC and Android phone Sokcet, be sure to use ADB forward to make the lower port forwarding to the socket.3. Using socket communication, you need
Follow the android documentation to add such udev rules:
Subsystem = "USB", ATTR {idvendor} = "0bb4", mode = "0666", group = "plugdev"
Note that when the ADB cannot find the Android device, check whether the idvendor string is in lowercase. For example, if you have previously debugged a sharp device, the vendor ID of the sharp device is 04dd. However, if you
PortImport or copy files from Simulators/devicesAdb command listStart shell commandsConnect to the database by running sqllite3 on a remote shell ClientUI/Software Test Procedure MonkeyOther shell commandsEnable logcat logsUse the logcat commandFilter log outputControl log output formatView available log BuffersView stdout and stderrLogcat command listStop adb ServiceSummaryThe Android debugging system is
in multiple devices (simulators), you need to specify a device number when you want to view the status of one of them directly with Logcat, or when you install the app directly on the target device. ADB devicesThis command can get the serial number of the current device (serialnumber). like a simulator, usually a emulator-5554 .After the ADB directive, add the parameter-s You can specify the target of the
List Packages-f:see their associated file-s:filter to only show system packages-3 Ilter to the show third party packagesPM list packages [-F] [-d] [-e] [-S] [-e] [-u] [FILTER] ");PM List permission-groupsPM List permissions [-G] [-f] [-d] [-u] [GROUP] ");PM list instrumentation [-f] [target-package] ");PM List FeaturesPM List LibrariesPM Path PackagePM install [-l] [-r] [-T] [-I installer_package_name] [-S] [-f] PATHPM Uninstall [-K] PackagePM Clear PackagePM
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
Android debugging Bridge
Http://www.androidin.com/docs/reference/adb.html#sqlite
Android debugging bridge (ADB) is a versatile tool that helps you manage the status of devices or simulators.
You can add ADB using the following methods:
Run shell commands on the device
Manage simulators or devices through port forwa
The Android Debug Bridge (ADB) is a versatile tool that can help you manage the state of your device or emulator.You can join ADB in the following ways:
Run the shell command on the device
To manage the emulator or device via port forwarding
Copy or copy files from a simulator or device
The following is an introduction to
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 Android Debug Bridge (ADB) is a versatile tool that can help you manage the state of your device or emulator.You can join ADB in the following ways:
Run the shell command on the device
To manage the emulator or device via port forwarding
Copy or copy files from a simulator or device
The following is an introduction to
Android adb and Android adb
Reference: http://blog.csdn.net/veryitman/article/details/6437090
1.Go to shell
Enter DeviceShellAdb shell
2. Install apk
Adb install
3. Copy files from the device to the Local Computer
Adb pull
For
Transferred from: http://my.oschina.net/xuwa/blog/1574 The Android Debug Bridge (ADB) is a versatile tool that can help you manage the state of your device or emulator. You can join ADB in the following ways:
Run the shell command on the device
To manage the emulator or device via port forwarding
Copy or copy files from a simulator or device
I. Definition and function:ADB full name Android Debug Bridge, is to play the role of the Debug bridge. is a tool in the Android SDK that allows you to manipulate the Android emulator or the real andriod device directly, by default the ADB process will run automatically when we run eclipse. Of course, we can also use s
Android advanced adb command, android advanced adb
Use the command line to execute the android adb command. The steps are as follows:
1. Find adb in the ADT sdk, as shown below:
2.
, depending on your settings.5. How to change back to previous status (via USB connection)SetProp service.adb.tcp.port-1 Stop adbd start adbd3. Directly via the ADB after USB connection is set upThis is the simplest method, but the success rate is not high. Let's take a look at how to achieve:ADB tcpip 5555 #让adbd重新启动, and listen port 5555 ADB connect 192.168.0.101:5555Change back to the original state:ADB
The difference between the use of ADB push and adb install in Android is reproducedThis article is submitted by Yingchun Shi (@ three vulgar little Women). Reprint please specify the original address.In the actual development of Android, the ADB command is often used, and th
Linux under the ADB drive problemLinux under the use of mobile phone USB debugging mode to connect ADB to the Android program debugging, configuration driver without windows to intuitive.The first step is to confirm that the phone is connected to the computer, LSUSB check the device record.[Email protected]:~$ LsusbBus 007 Device 009:id 18d1:4e12Bus 007 Device 00
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.