Android SDK中的问题的Ubuntu 10.04lts [英] Android SDK Issues Ubuntu 10.04lts

查看:212
本文介绍了Android SDK中的问题的Ubuntu 10.04lts的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过这里的其他问题看,和其他论坛。这些问题的答案并没有帮助我的问题。我最初开始了11.10,但认为有可能是一个错误或东西,从工作停止它。我有SDK和与Eclipse上都10.04和11.10,所以我真的很茫然,什么是怎么了ADT工作。

我得到的错误如下:

 无法完成安装,因为一个或多个必需项目无法找到。
  软件安装:安卓Traceview 16.0.1.v201112150204-238534(com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)
  缺少要求:Android的Traceview 16.0.1.v201112150204-238534(com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)要求org.eclipse.ui 3.6.2,但它不能发现
 

当我跑了SDK安装第二次(卸载后),我发现了以下错误:

 停止ADB服务器失败(code -1)。
无法运行亚行:不能运行程序/家/本/ Android的SDK-Linux的/平台工具/亚行:java.io.IOException异常:错误= 2,没有这样的文件或目录。
亚行启动服务器发生故障(code -1)。
 

我没有看到它的第一次,我不知道这意味着什么或如何解决它! 任何帮助将大大AP preciated,对方的回答:我发现了来自同一人谁问这个问题,是重新安装一切纠正这个问题,我还没有那么幸运,所以我想我会重新引发查询。先感谢您。我使用靛蓝作为版本,我看到其他地方的Helios是唯一能够使用的SDK的最低水平。

又回到11.10,但问题依旧,笔记本电脑是三星R580 64位。

  preparing安装档案
下载的Andr​​oid SDK平台工具,修订10
安装Android的SDK平台工具,修订10
停止ADB服务器失败(code -1)。
 

不过在安装SDK工具时,从终端使​​用以下命令将显示:

  Android的SDK-Linux的/工具/机器人
 

解决方案

你的问题,完全不是一个张贴robertly不同,但我敢肯定,你发现使用谷歌了。

您正在运行64位的Ubuntu,忘了运行以下命令。

  

apt-get的安装IA32-库

该手机是不是64位,所以亚行没有64位版本。您需要IA32-库。

完成之后,打开Eclipse和去 窗口 - > Android的SDK管理器 然后,卸载所有工具(在工具的子文件夹),并重新安装。

您应该不再获得亚行的错误。

来源: <一href="http://developer.android.com/sdk/installing.html#troubleshooting">http://developer.android.com/sdk/installing.html#troubleshooting

解决方案#2 - 我不得不这样做,因为sudo易于得到删除日食并没有彻底删除它,它仍然会导致错误。做这一切,再加上上述步骤解决了我的问题,其他的夜晚。

删除日食,Android的文件夹
sudo易于得到删除日食
sudo的附加的apt-库的deb http://archive.canonical.com/ 明晰的合作伙伴
sudo易于得到更新
命令和apt-get安装太阳的Java6-JRE太阳的Java6-插件
sudo的更新,替代--config java的
重新安装月食3.7.1,Android的SDK-Linux文件夹 继续正常安装。

I have looked through the other questions on here, and on other forums. The answers didn't help my issue. I originally started out with 11.10 but thought there could be a bug or something that was stopping it from working. I have had the SDK and ADT working with Eclipse on both 10.04 and 11.10 so I really am at a loss as to what is going wrong.

The error I get is as follows:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534)
  Missing requirement: Android Traceview 16.0.1.v201112150204-238534 (com.android.ide.eclipse.traceview.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.ui 3.6.2' but it could not be found

When I ran the SDK install a second time (after uninstalling it) I noticed the following error:

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program "/home/ben/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory.
Starting ADB server failed (code -1).

I didn't see it there the first time and I don't know what it means or how to fix it! Any help would be greatly appreciated, the other 'answer' I found was from the same person who asked the question, that reinstalling everything corrected the problem, I have not been so fortunate so I thought I would re-raise the query. Thank you in advance. I am using Indigo as the version, I saw elsewhere that Helios was the lowest that could use the SDK.

Gone back to 11.10 but the issue remains the same, the laptop is a Samsung R580 64bit.

Preparing to install archives
Downloading Android SDK Platform-tools, revision 10
Installing Android SDK Platform-tools, revision 10
Stopping ADB server failed (code -1).

Still appears when installing the SDK Tools using the following command from terminal:

android-sdk-linux/tools/android

解决方案

You're problem is entirely different than the one posted by robertly, although I'm sure you've found it using google.

You're running 64bit ubuntu and forgot to run the following command.

apt-get install ia32-libs

The phones aren't 64bit, so there is no 64bit version of adb. You need the ia32-libs.

After this is done, open eclipse and go to Windows -> Android SDK Manager then, uninstall all the tools(under tools sub folder) and reinstall them.

You should no longer get the adb error.

Source: http://developer.android.com/sdk/installing.html#troubleshooting

Solution #2 - I had to do this because sudo apt-get remove eclipse didn't remove it completely and it still cause errors. Doing all of this, combined with the step above solved my problem the other night.

Delete eclipse, android folders
sudo apt-get remove eclipse
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin
sudo update-alternatives --config java
Reinstall eclipse 3.7.1, android-sdk-linux folder Proceed with normal installation.

这篇关于Android SDK中的问题的Ubuntu 10.04lts的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆