Tuesday, April 8, 2014

In ubuntu already recognizes the phone, but does not recognize eclipse


In the end you can have adb shell, but the eclipse does not recognize. Error:
[2011-09-22 13:38:05 - Logcat] device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
at com.android.ddmlib.AdbHelper.setDevice (AdbHelper.java: 736)
at com.android.ddmlib.AdbHelper.executeRemoteCommand (AdbHelper.java: 373)
at com.android.ddmlib.Device.executeShellCommand (Device.java: 284)
at com.android.ddmuilib.logcat.LogPanel $ 3.run (LogPanel.java: 527)
When debugging, select the device can show the phone, but being given choices:
Failed to install LeCooMarket.apk on device '????????????': Adb rejected install command with: device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
Launch canceled!

When selecting equipment, mobile phones Target is unknown
Solving
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Nobody knows what ~ ~ ~
Reply:
The need to run a command, specifically what I forgot. My computer have, huh ......
Seems to be following the SDK platform tools below adb kill server, but before the command can not remember. Baidu above others.
Reply:
1 run lsusb
in terminalWill find the results will be similar to the following records:
Bus 001 Device 008: ID 0bb4:. 0c02 High Tech Computer Corp
Then type
sudo gedit / etc/udev/rules.d/50-Android.rules
Add the following text in the open file:
SUBSYSTEM == "usb", SYSFS {"High Tech Computer Corp."} == "0bb4", MODE = "0666"
2 Run the following command:.
sudo chmod a + rx / etc/udev/rules.d/50-Android.rules sudo / etc / init.d / udev restart
3 running under Android sdk's platform-tools directory (prior to platform-tools and tools corresponding directory to your PATH below)
sudo. / adb kill-server
sudo. / adb devices


Above for your reference, I was so buttoned. I do not like to run it in front of the line, direct the third step.
Reply:
In ddms the look can find that it is not under a pea pod, or 91 assistants
Reply:
The need to run a command, specifically what I forgot. My computer have, huh ......
Seems to be following the SDK platform tools below adb kill server, but before the command can not remember. Baidu above others.

You said it should be: adb kill-server it
Reply:
On the third floor that's good, I also like to solve, after configured profiles, be sure to run sudo. / Adb kill-server and
sudo. / adb devices, should be able to solve!
Reply:
reference to the 6th floor wangchuanti reply: after
floor said, well, I also like to solve, configured profiles, be sure to run sudo /. adb kill-server and
sudo. / adb devices, should be able to solve!
. / Adb kill-server
Reply:
reference to the third floor lh15871815717 reply:
1 in a terminal run lsusb
.Will find the results will be similar to the following records:
Bus 001 Device 008: ID 0bb4:. 0c02 High Tech Computer Corp
Then type
sudo gedit / etc/udev/rules.d/50-Android.rules
Add the following text in the open file:
SUBSYSTEM == "usb", SYSFS {"High Tech Com ......

This has been configured, ADB which can already identify a mobile phone. However, in eclipse, you can see the phone, but when debugging on the error. When selecting equipment, mobile phones Target is unknown
Reply:
reference to the 7th floor aomandeshangxiao reply:
reference to the 6th floor wangchuanti reply:

On the third floor that's good, I also like to solve, after configured profiles, be sure to run sudo. / Adb kill-server and
sudo. / adb devices, should be able to solve!
. / Adb kill-server

Have been tried, to no avail
Reply:
Looks like sudo. / Adb kill-server
sudo. / adb start-server
Reply:
Nonsense. . . .
Way to the top is no way to solve. . .
Reply:
I also wonder just started a few days later to get the solution using English search:
Then later saw that it is the people modify adb, has now been resolved.
Solution: http://download.csdn.net/download/qq280948982/3791652
Reply:
Problems found, for example
to C8812Dial: * # * # 2846579 # * # *
ProjectMenu-> Background Settings -> USB Port Configuration -> Google model
Some other Huawei phones in the background there is no USB port configuration settings, but also I do not know how to engage
Reply:
I restart eclipse, resolved.
Reply:
Can you say a little more detail ah I was white

No comments:

Post a Comment