Eclipse ADT错误:无法运行程序adb

编程入门 行业动态 更新时间:2024-10-27 12:38:58
本文介绍了Eclipse ADT错误:无法运行程序adb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在Ubuntu上安装了适用于64位Linux的Android SDK(SDK Only)。然后我安装了Eclipse的ADT插件。当我重新启动Eclipse它要我打开SDK管理器并安装一些操作系统SDK,所以我安装了一些开发工具和最新的(我相信是4.2.2)Android发行版。然后我重新启动Eclipse,没有任何错误或控制台警告。

然后,我尝试打开几个Android视图(堆,LogCat等)并收到以下错误: / p>

这是什么,为什么我看到它?我可以做些什么来纠正它?感谢提前!

更新:在目录中运行 ls -l 问题产生:

myUser @ myMachine:〜$ ls -l〜/ sandbox / dsi / workbench / android-sdk / 21.1 / android-sdk-linux / platform-tools / total 27960 -rwxrwxr-x 1 myUser myUser 1122758 Apr 11 10:29 aapt -rwxrwxr-x 1 myUser myUser 1226659 Apr 11 10: 29 adb -rwxrwxr-x 1 myUser myUser 269818 Apr 11 10:29 aidl drwxrwxr-x 2 myUser myUser 4096 Apr 11 10:29 api -rwxrwxr-x 1 myUser myUser 444481 Apr 11 10:29 dexdump -rwxrwxr-x 1 myUser myUser 2603 Apr 11 10:29 dx -rwxrwxr-x 1 myUser myUser 176550 Apr 11 10:29 fastboot drwxrwxr-x 2 myUser myUser 4096 Apr 11 10:29 lib -rwxrwxr-x 1 myUser myUser 24867619 Apr 11 10:29 llvm-rs-cc -rw-rw-r-- 1 myUser myUser 467531 Apr 11 10: 29 NOTICE.txt drwxrwxr-x 4 myUser myUser 4096 Apr 11 10:29 renderscript -rw-rw-r-- 1 myUser myUser 16648 Apr 11 10:29 source.properties myUser @ myMachine:〜$

解决方案

p>你的Ubuntu版本是什么? 在ubuntu 12.04之前,您必须安装ia32-libs

sudo apt-get install ia32-libs

I'm on Ubuntu and just installed the Android SDK ("SDK Only") for 64-bit linux. I then installed the ADT plugin for Eclipse. When I restarted Eclipse it asked me to open the SDK Manager and install some OS SDKs, so I installed some Developer tools and the most recent (I believe it was 4.2.2) Android distro. I then restarted Eclipse and got no errors or console warnings.

I then tried to open several Android views (Heap, LogCat, etc.) and got the following error:

What is this and why am I seeing it? What can I do to correct it? Thanks in advance!

Update: running an ls -l on the directory in question produces:

myUser@myMachine:~$ ls -l ~/sandbox/dsi/workbench/android-sdk/21.1/android-sdk-linux/platform-tools/ total 27960 -rwxrwxr-x 1 myUser myUser 1122758 Apr 11 10:29 aapt -rwxrwxr-x 1 myUser myUser 1226659 Apr 11 10:29 adb -rwxrwxr-x 1 myUser myUser 269818 Apr 11 10:29 aidl drwxrwxr-x 2 myUser myUser 4096 Apr 11 10:29 api -rwxrwxr-x 1 myUser myUser 444481 Apr 11 10:29 dexdump -rwxrwxr-x 1 myUser myUser 2603 Apr 11 10:29 dx -rwxrwxr-x 1 myUser myUser 176550 Apr 11 10:29 fastboot drwxrwxr-x 2 myUser myUser 4096 Apr 11 10:29 lib -rwxrwxr-x 1 myUser myUser 24867619 Apr 11 10:29 llvm-rs-cc -rw-rw-r-- 1 myUser myUser 467531 Apr 11 10:29 NOTICE.txt drwxrwxr-x 4 myUser myUser 4096 Apr 11 10:29 renderscript -rw-rw-r-- 1 myUser myUser 16648 Apr 11 10:29 source.properties myUser@myMachine:~$

解决方案

What is your Ubuntu Version ? Before ubuntu 12.04, you must install ia32-libs

sudo apt-get install ia32-libs

更多推荐

Eclipse ADT错误:无法运行程序adb

本文发布于:2023-10-07 14:48:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469683.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   程序   Eclipse   ADT   adb

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!