再次!在 Ubuntu 32 位中:Eclipse 无法在 Android sdk 中执行 appt
“执行 aapt 时出错。请检查 aapt 是否存在于.../platform tools/aapt”
我正在尝试在 Ubuntu 中使用 Eclipse Android SDK 构建 Android 应用程序。
我在两台不同的计算机上安装了 Ubuntu 32bit 10.10,但现在无法解决问题。
我安装了 Eclipse、ADT 插件、Android SDK、所有 Android API,...并且我还将首选项设置为 Android SDK 文件夹。我还小心地将所有 SDK 和 Eclipse 放在我的用户名文件夹中,以确保我完全拥有正确的权限。
我也尝试用google来查找类似的案例。大多数情况下使用 64 位 Ubuntu。 我还修复了 GNU 编译器和一些说明。
但现在我真的绝望了。看来这个问题确实很严重。
我真的很感谢你的所有帮助。 非常感谢
*此外,我多次尝试重新启动计算机并尝试安装许多不同的版本 日食。每次我设置 Android SDK 的首选项时,都会出现以下消息框 “无法获取 adb 版本:无法运行程序“/home/sdc/android-sdk-linux_x86/platform-tools/adb”:java.io.IOException:错误=13,权限被拒绝” 现在我尝试了一切,但它们不起作用*
"Error executing aapt. Please check aapt is present at ... /platform tools/aapt"
I am trying to build Android apps using Eclipse Android SDK in Ubuntu.
I installed Ubuntu 32bit 10.10 in two different computers and I can't fix the problems now.
I installed Eclipse, ADT plugin, Android SDK, all Android APIs, ...and also I have set Preferences to Android SDK folder. I also carefully put all SDK and Eclipse in my username folder to make sure I fully have right permission.
I also try to use google to find similar cases. Most cases use 64 bit Ubuntu.
I also fix the GNU compiler and some instructions here.
But now I am really hopeless. It looks like this problem is really serious.
I really appreciate all of your helps.
Thanks so much
[email protected]
[email protected]
Thanks again
*Also, I try to restart my Computer many times and try to install many different version
of Eclipse. Each time I set Preferences for Android SDK, the following message box occur
"Failed to get the adb version: Cannot run program "/home/sdc/android-sdk-linux_x86/platform-tools/adb": java.io.IOException: error=13, Permission denied"
Now I try everything but they don't work*
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您尝试过 adt-eclipse-bundle 吗?
https://developer.android.com/sdk/installing/bundle.html
您有一些错误的权限。也许某些文件归 root 用户所有,因为在不需要时使用了 sudo。主目录中的所有文件都应归您的用户所有。您可以使用以下方法修复该问题:
Have you tried the adt-eclipse-bundle?
https://developer.android.com/sdk/installing/bundle.html
You have some wrong permissions. Perhaps some files are owned by the root user because of using sudo when it wasn't needed. All files in your home directory should be owned by your user. You can fix that with the following: