本文介绍了Eclipse和Android的:可以在三星Galaxy S2没有调试,因为没有检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始学的Andr​​oid开发。我使用Ubuntu 11.10和Eclipse。我已经安装了Android开发所需的插件,而我也还写了一些例子,编译和仿真器上运行正常。

I am just starting to learn on Android development. I use Ubuntu 11.10 and Eclipse. I have installed the needed plugins from android development, and I have also write yet some examples that compiles and run fine on the emulator.

不过出头的多点触控,不能在模拟器上测试过,所以我想测试他们我真正的三星Galaxy S2的设备上。现在的问题是,我已经尝试了一切,我发现这个在网络上,但仍然没有能够使用它。

But somethings as multitouch cannot be tested on the emulator, so I want to test them on my real Samsung Galaxy S2 device. The problem is that I have tried everything I have found on the web on this, but still have not been able to use it.

当我运行./adb设备,它只表示没有,但设备连接。

When I run ./adb devices, it does show none, although the device IS attached.

$ lsusb
...
Bus 001 Device 012: ID 04e8:6860 Samsung Electronics Co., Ltd 
$ ./adb devices
List of devices attached 

我已经根据网站上的说明不同的方式修改/etc/udev/rules.d/51-android.rules很多次,但他们没有有所作为。目前,我有它的这一行:

I have modified /etc/udev/rules.d/51-android.rules many times in different ways following instructions on the web, but none of them make a difference. Currently I have this line in it:

SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}="6860", MODE="0666", GROUP="plugdev"

当然,我试图重新启动udev和亚洲开发银行的服务,甚至重新启动整个系统,但它没有工作也没有。

Of course I tried restarting udev and adb services, even rebooting the whole system, but it did not work neither.

任何线索?

感谢很多提前,

推荐答案

启用USB调试设备上的设置 - >应用程序 - >开发

Enable USB Debugging on the device from the Settings -> Applications -> Development

这篇关于Eclipse和Android的:可以在三星Galaxy S2没有调试,因为没有检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 08:28