Adb挂在64位linux操作系统上

时间:2022-09-01 10:22:26

I'm trying to use adb on 64 bit linux (Linux Mint 15), and it's simply not working. I installed all the 32 bit libraries other questions of this sort were recommending, but to no avail. Most of the other questions like this seemed to say that adb was giving an error message, but in this case it simply hangs for a long time whenever I give a command. It eventually works, but hangs for quite a while, and I havn't been able to get it to work with eclipse. Does anyone know how I can get it to work smoothly?

我正在尝试在64位Linux(Linux Mint 15)上使用adb,而它根本就没有用。我安装了所有32位库,这类推荐的其他问题,但无济于事。像这样的大多数其他问题似乎都说adb正在给出一条错误信息,但在这种情况下,每当我发出命令时它就会挂起很长时间。它最终有效,但是暂停了很长一段时间,而且我无法让它与eclipse一起工作。有谁知道我怎么能让它顺利工作?

1 个解决方案

#1


1  

I found the solution. My iptables were dropping local loopback network activity, and I changed that with sudo iptables -I INPUT -i lo -j ACCEPT

我找到了解决方案。我的iptables正在丢弃本地环回网络活动,我用sudo iptables改变了它--I INPUT -i lo -j ACCEPT

Afterwards, adb worked for me.

之后,adb为我工作。

#1


1  

I found the solution. My iptables were dropping local loopback network activity, and I changed that with sudo iptables -I INPUT -i lo -j ACCEPT

我找到了解决方案。我的iptables正在丢弃本地环回网络活动,我用sudo iptables改变了它--I INPUT -i lo -j ACCEPT

Afterwards, adb worked for me.

之后,adb为我工作。