Android Studio - 项目结构几乎是空的 [英] Android Studio - Project structure is almost empty

查看:49
本文介绍了Android Studio - 项目结构几乎是空的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Android Studio 0.2.9,当我打开项目结构"菜单时,好吧..我只有这个:

I'm on Android Studio 0.2.9 and when I open the Project Structure menu, well.. I've got only this :

模块菜单和其他东西不再存在!有没有人遇到过这个问题?我认为这些主题是相对的(这里此处).

Modules menu and other things are no longer here ! Does anyone experience this issue to ? I think those topics are relative (here and here).

在新版本 0.2.10 中仍然出现此错误.

Edit : Still getting this error in new version 0.2.10.

推荐答案

好吧,有人在 google 项目上报告了这个问题":https://code.google.com/p/android/issues/detail?id=60310.

Well, somebody reported this "issue" on google project here : https://code.google.com/p/android/issues/detail?id=60310.

如您所见,谷歌团队的回答是:

As you can see, google team answer is :

其他面板与 Gradle 项目 无关,并且被隐藏,除了偶尔会意外重新出现的错误.

The other panels are not relevant for Gradle projects and are being hidden, except for occasional bugs where they unexpectedly reappear.

所以我尝试导入一个没有 Gradle 的旧项目,这是现在在 Android Studio v0.2.11 上的项目结构:

So I tried to import an old project without Gradle and here is what the Project Structure looks like now, on Android Studio v0.2.11 :

总而言之,Android Studio 在使用 Gradle 管理项目时隐藏了一些项目设置(为了不混合没有 Gradle 的库文件导入,可能......).

To summarize, Android Studio hides some Project Settings when the project is managed with Gradle (in order to not mix library file import without Gradle, probably..).

如果我错了,请随时发表评论,但现在似乎可以这样工作.

Feel free to comment if I'm wrong, but it seems to work this way now.

这篇关于Android Studio - 项目结构几乎是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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