Android Studio使用--了解项目结构

来源:互联网 发布:网络用词f代表什么意思 编辑:程序博客网 时间:2024/06/06 03:17

本文所用Android Studio版本:1.1.0
首先新建一个项目,File->New->New project
这里写图片描述
然后输入项目名称,选择项目目录
这里写图片描述
点击Next,选择最小SDK版本
这里写图片描述
点Next,选择空白Activity
这里写图片描述
点Next,输入Activity名称
这里写图片描述
然后Finish
这里的步骤跟Eclipse差不多。
下面来看看新建的项目是什么样子的
这里写图片描述
这里写图片描述
如果需要添加.so文件,需要手动创建jni文件夹,结构如下(下图中显示的是jniLibs,Android Studio 1.1.0版本应该是jni)(jni的一些动态库所在的默认位置(.so文件))
这里写图片描述

参考:
http://segmentfault.com/a/1190000002963895
http://developer.android.com/intl/ja/tools/projects/index.html#ApplicationModules
http://www.aswifter.com/2015/07/07/android-studio-project-struct/
http://stackoverflow.com/questions/17431838/android-studio-project-structure-v-s-eclipse-project-structure
http://javatechig.com/tools/android-studio-project-structure#

0 0
原创粉丝点击