为什么Android Studio中有那么多元数据文件? [英] Why so many metadata files in Android studio?

查看:94
本文介绍了为什么Android Studio中有那么多元数据文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android Studio中创建了一个新项目,并生成了许多文件,而在我的实际代码中,只有一个文件夹-src.

I created a new project in Android studio and got many files generated, where as my actual code is found in just one folder - src.

为什么这么复杂的结构?请说明将元文件而不是某些名为gradle的内部文件夹放在项目根目录中的动机.

Why the so complicated structure? Please explain the motivation of putting meta-files at the root of the project instead of some inner folder named gradle.

推荐答案

首先,如果您不想看到那些元数据,可以对其进行更改(请参见图片).

First of all if you don't want to see those metadata... you can change it(see Image)..

gradle才能编译您的项目.例如:在gradle文件中,我们指定minsdk版本,maxsdk版本和依赖项等

gradle is required to compile your project. for example: In gradle file we specify minsdk version,maxsdk version and dependencies etc

要了解有关gradle的更多信息,请访问 http://gradle.org/the-new-gradle-android-build-system/

To Know more about gradle go to http://gradle.org/the-new-gradle-android-build-system/

这篇关于为什么Android Studio中有那么多元数据文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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