Android development under Ubuntu, found that their mobile phone even if the USB connection, USB debugging or not connected, has always been displayed??????. Baidu a lot, found to change the "/etc/udev/rules.d/50-android.rules" file, but the problem came, this is specifically for a mobile phone to use, in case you use someone else's phone
1. This handset turns on the USB debugging and the Samsung S5 is same, clicks the desktop "the application".
2. Then we find inside the "Set" button click on it to open.
3. Click on "About the device" to open it.
4. After clicking the "build Number" 7 times, the "developer mode is enabled" will be prompted.
5. Click on the
1 We in TCL Mobile phone found in the desktop "set" open after we click on the settings "all set" open will see a "about the phone" and then we find "version number" continuously click 7 times.
2 If we click on the "version number" did not see "You are in the developer mode" We can then click, directly to see "You are in the developer mode" back to the Settings panel click "Developer Options" as shown in
Find the manufacturer ID of the USB device, which is the Vendor IDMethod 1:terminal Enter " system_profiler spusbdatatype"to find the USB device;Method 2: About the system report->USB find;
Add to Adb_usb.iniMethod 1:Terminal Enter "echo" Vendor ID ">> ~/.android/adb_usb.ini"Method 2:vi ~/.android/adb_usb.ini, press the I key, enter the manufacturer ID,: WQ
1. Run sudovi/etc/udev/rules. d/51-Android.rules, create the 51-android.rules configuration file 2, add an entry according to the following data format: SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1 ", ATTR {idProduct }== "xxxx2", MODE = "0600", OWNER = "xxx
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSY
Use Android Studio to develop Android applications under the Linux Mint17.1 System, develop prototypes using Meizu's newest MX5 phone, and turn on USB debugging in Settings and developer tools.-------------------------------------------------------------command Operation-------------------------------[Email protected]/ETC/UDEV/RULES.D $ lsusbBus 001 Device 015:id 2A45:0C02Bus 001 Device 001:id 1d6b:0002 Lin
1. Under the Standby page, click "Application".
2. Click "Set".
3. Slide the phone screen up with your finger and select "Developer Options".
4. Slide the slider to the right of the developer options to the right, when the ScreenTip "These are for development purposes only." When it can cause errors in your device and its application, click OK.
5. Click "USB Debugging" to hook it
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1", ATTR {idProduct} = "xxxx2", MODE = "0600", OWNER = "xxxx3"
3. Enter xxx1, xxx2, and xxx3 based on your device information.
Where,
(1) xxx3 is the user name when you log on to mongout.
(2) how to search for x
The first step, in the mobile phone we find "settings" opened after the entry, details as shown in the following figure.
The second step, then in the access interface we find "about the phone" after clicking Open.
The third step, open the "Mobile configuration Information" as shown in the following image to open the entry.
The fourth step, continuous Click the bottom "version number" seven times (each click has related prompts) as shown in the following figure.
First, on the HTC G7 mobile phone to open the "USB debugging" step:
1, on the phone press the "menu" key (function key), in the pop-up menu select "Setting (set)";
2, select "Application";
3, this interface to select "Unknown source", and then choose "Development";
4, check "USB debugging", "Stay Awake State".
S
Solution to problems in tomcat debugging mode: tomcat debugging
In most cases, you can cancel the breakpoint to solve problems in the debugging mode.
There are two common problems that can be solved by canceling the breakpoint later.
1. the
VS debugging encounters the "Application interruption mode" problem again, with a solution attached, vs debugging
Some colleagues reported that debugging was abnormal during the recent reconstruction of a project. It happened a long time ago. Although I searched for a solution, I thought it was necessary to record it.
Android USB Development Trouble is still more.First Type: Host modeThis mode is good, powered by an Android device, and then communicates with the external device. For example: A computer connected to a USB device is a very common mode of this mode.But there is a vicious question, what happens when Android is connected
This article translated from: http://developer.android.com/guide/topics/connectivity/usb/host.html
When your Android device is in USB host mode, it powers the slave device as a USB host and lists connected USB devices. The USB Hos
Cool Big God F2 (8675) How to open the USB debugging mode? Believe that the mobile phone has a certain understanding of the machine friends are clear, Android 4.2. More than 2 of the mobile phone developer options are hidden up, so how to turn on USB debugging?
1, in t
In the production of U disk Startup disk, we will be exposed to the starting mode of the related issues, what are the different modes? Now for you to analyze:
First, usb-hdd+: (occupy 1 sectors) Enhanced USB-HDD mode, DOS boot after the display of C: Disk, compatibility is very high. The disadvantage is that computers
The USB debug mode is turned on under Android and there are three different methods depending on the system version, as follows.
Open USB Debug mode under Android 2.1-2.3.7 system
First click on the desktop settings, or press the phone button, choose to set this
In the set menu of the application of this item, there
1, USB-HDD: (occupy 1 sectors) hard disk simulation mode, DOS boot after the show C: disk, hp (HP) u disk Format tool made by the U disk is the starting mode. This mode is highly compatible, but cannot be started for some computers that only support Usb-zip
Virtualbox keyboard is invalid, USB device problems, seamless mode problems, sound card exclusive issue Strategy 1, invalid keyboard: Install scim-bridge-client-qt and log on again. 2. Seamless mode Dislocation: set the value to 16 bits in vbox to OK. in seamless mode, at least one Windows window must be retained. 3. W
API Overview
Because the additional class library is an encapsulation of the Framework API, the classes supporting the USB slave mode are similar. Even if you are using this additional class library, you can also use the Android. Hardware. USB reference document.
Note:However, there is a usage difference between the additional Class Library and the Framework API.
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.