Android的Eclipse插件无法找到有效路径 [英] android eclipse plugin can't find valid paths
问题描述
我刚刚安装了最新的伽利略的Eclipse版本。我加了 最新的ADT插件并将其配置为使用我的Android SDK(R4)。 不幸的是,Eclipse插件是威金了。由于某些原因,它 无法找到(执行?)Android的工具。我得到这个错误的 Eclipse项目:
I just installed the latest galileo eclipse release. I added the latest adt plugin and configured it to use my android sdk (r4). Unfortunately, the eclipse plugin is wiggin out. for some reason, it can't find(execute?) the android tools. I get this error on the eclipse project:
错误执行AAPT。请检查AAPT是present在 〜/ Android的SDK-linux_86 /平台/ Android的1.6 /工具/ AAPT
Error executing aapt. Please check aapt is present at ~/android-sdk-linux_86/platforms/android-1.6/tools/aapt
但这里是LS的输出:
ls -al ~/android-sdk-linux_86/platforms/android-1.6/tools/aapt
-rwxrwxrwx 1 solid solid 3416259 2009-12-18 21:02 /home/solid/android-sdk-linux_86/platforms/android-1.6/tools/aapt
当我尝试直接运行程序,我看到以下内容:
When I try running the program directly, I see the following:
~/android-sdk-linux_86/platforms/android-1.6/tools/aapt
bash: /home/solid/android-sdk-linux_86/platforms/android-1.6/tools/aapt: No such file or directory
我刚才解压缩的SDK和安装平台和 LS
倒是它,所以我知道它的存在。
I just unzipped the sdk and installed the platforms and ls
'd it so I know it is there.
我试图在命令行中重新创建项目( 工作),但是当我将其导入到Eclipse中,我得到了同样的错误。
I have tried recreating the project from the command line (which works) but when I import it into eclipse I get the same error.
顺便说一句,这是Linux的AMD 64
BTW this is linux amd 64
推荐答案
东西是非常错误的在这里。这两条线路自相矛盾:
Something is very wrong here. These two lines contradict themselves:
$ ls -al ~/android-sdk-linux_86/platforms/android-1.6/tools/aapt
-rwxrwxrwx 1 solid solid 3416259 2009-12-18 21:02 /home/solid/android-sdk-linux_86/platforms/android-1.6/tools/aapt
$ ~/android-sdk-linux_86/platforms/android-1.6/tools/aapt
bash: /home/solid/android-sdk-linux_86/platforms/android-1.6/tools/aapt: No such file or directory
该文件就不能存在一瞬间,然后停止在接下来的存在。
The file just can't exist one instant, then cease to exist in the next.
我不认为这是由于AMD64上运行,因为我怀疑这会带给你不同的,更具描述性的错误。话虽这么说,要确保你已经安装了IA32-库:
I don't think this is caused by running on amd64, since I'd suspect that would give you a different, more descriptive error. That being said, make sure you have the ia32-libs installed:
# Assuming you're on Ubuntu
$ apt-get install ia32-libs
我唯一的建议是尝试完全删除SDK安装,并从头开始重新安装。
My only advice would be to try completely deleting your SDK installation and re-installing it from scratch.
这篇关于Android的Eclipse插件无法找到有效路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!