在 Android Studio 中,当您在“项目”部分中选择“项目文件”时,您会看到两个文件夹,而不是一个:
应用程序名称
应用
ApplicationName
文件夹列出了除被删除的 app
之外的所有文件和目录。
问题:
- 这是因为
app
文件夹特别重要吗? - [已添加] 是否存在此处放置多个文件夹的情况(
app
、app2
、...) - 在显示内容和显示方式方面,我还应该注意其他“奇怪之处”吗?
- 这可以在设置中更改吗?
最佳答案
The app directory is called modules where the modules are the files/folders which built into the .apk files based on build settings Source:http://developer.android.com/intl/ja/tools/projects/index.html
这些build设置可以通过“文件->项目结构->模块”进行更改。 如果您创建/编辑模块,则更改将反射(reflect)到 Android 应用程序部分下的项目的“运行/调试配置”中。如果没有这些模块,则无法在 studio 中构建 apk。
关于android - Android Studio中查看"Project files",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33295815/