相关疑难解决方法(0)

Android SDK上的adb错误.使用Linux Ubuntu 64 bit 12.10

我在这个网站上看到了我遇到的这个错误:

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/ariel/Downloads/adt-bundle-linux-x86_64/sdk/platform-tools/adb": error=2, No such file or directory.
Starting ADB server failed (code -1).
Run Code Online (Sandbox Code Playgroud)

我在本主题提供的终端上使用了此命令.

64位Linux机器上的Android SDK

编辑:我已尝试在终端上使用此命令:

sudo apt-get install ia32-libs
Run Code Online (Sandbox Code Playgroud)

可悲的是,它什么也没做,它表明了这一点:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6-i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libc6-i386' …
Run Code Online (Sandbox Code Playgroud)

linux android ubuntu-12.10

12
推荐指数
1
解决办法
2万
查看次数

尝试获取adb版本时没有此类文件或目录

我在我的计算机上安装了Android adt bundle for Linux(Ubuntu 13.04).但现在当我在adt bundle中运行我的eclipse时出现以下错误: -

2014-11-04 13:25:50 - adb] Unexpected exception 'Cannot run program "/home/bharath/andriod/adt-bundle-linux-x86_64-20140702/sdk/platform-tools/adb": error=2, No such file or directory' while attempting to get adb version from '/home/bharath/andriod/adt-bundle-linux-x86_64-20140702/sdk/platform-tools/adb'
Run Code Online (Sandbox Code Playgroud)

我还尝试在终端中运行以下命令: -

apt-get install ia32-libs
apt-get install sun-java6-jdk
Run Code Online (Sandbox Code Playgroud)

sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Run Code Online (Sandbox Code Playgroud)

我也尝试过以下链接中给出的命令: -

  1. Eclipse ADT意外异常'无法运行程序'
  2. 在Linux中设置ADT时出现错误消息
  3. 64位Linux机器上的Android SDK
  4. Ubuntu 64与Android 64 Bundle无法找到adb可执行文件

但问题仍未解决,尽管我在终端上执行这些命令时得到以下输出.

bharath@bharath-PC:/home$ sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
[sudo] password for bharath: 
Reading package lists... Done
Building dependency tree       
Reading …
Run Code Online (Sandbox Code Playgroud)

eclipse linux ubuntu android adt

4
推荐指数
1
解决办法
4716
查看次数

标签 统计

android ×2

linux ×2

adt ×1

eclipse ×1

ubuntu ×1

ubuntu-12.10 ×1