简体   繁体   English

Android SDK ADT安装问题

[英]Android SDK ADT installation issue

I'm using ubuntu 9.10 on my laptop its a separate partition i just installed the latest version of eclipse and installed the java sdk and adt. 我在笔记本电脑上使用ubuntu 9.10,它是一个单独的分区,我刚刚安装了最新版本的eclipse并安装了Java sdk和adt。 I'm pretty sure i did it correctly because it willlet me create new android projects but I have been trying to import an existing one and ive been getting the following errors. 我敢肯定我正确地做到了,因为它会让我创建新的android项目,但是我一直在尝试导入一个现有的android项目,并且得到了以下错误。

Menu declare-styleable Menu not found in file /home/michael/android-sdk-linux_x86/platforms/android-7/data/res/values/attrs.xml
[2011-04-14 21:39:33 - Android Framework Parser] Menu declare-styleable MenuItem not found in file /home/michael/android-sdk-linux_x86/platforms/android-7/data/res/values/attrs.xml
[2011-04-14 21:39:33 - Android Framework Parser] Menu declare-styleable MenuGroup not found in file /home/michael/android-sdk-linux_x86/platforms/android-7/data/res/values/attrs.xml

I looked in the said path and there was no attrs.xml at first so I looked up the source for it and added it myself and still no success and yes I've done every simple solution possible aka "clean and re-add". 我查看了上述路径,一开始没有attrs.xml,所以我自行查找了源代码并添加了它,但仍然没有成功,是的,我已经完成了所有可能的简单解决方案,也就是“清理并重新添加”。 Does anyone know where im going wrong? 有谁知道我要去哪里错了?

右键单击该项目,然后转到“ Android工具”>“修复项目属性”

Check your SDK and update it. 检查您的SDK并进行更新。 System image might not be installed 系统映像可能未安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM