在Android Studio中有六种依赖
来源:互联网 发布:建筑能耗分析软件 编辑:程序博客网 时间:2024/06/06 01:54
转载:在Android Studio中有六种依赖
Compile,Provided,APK,Test compile,Debug compile,Release compile
Compile
compile是对所有的build type以及favlors都会参与编译并且打包到最终的apk文件中。
Provided
Provided是对所有的build type以及favlors只在编译时使用,类似eclipse中的external-libs,只参与编译,不打包到最终apk。
APK
只会打包到apk文件中,而不参与编译,所以不能再代码中直接调用jar中的类或方法,否则在编译时会报错
Test compile
Test compile 仅仅是针对单元测试代码的编译编译以及最终打包测试apk时有效,而对正常的debug或者release apk包不起作用。
Debug compile
Debug compile 仅仅针对debug模式的编译和最终的debug apk打包。
Release compile
Release compile 仅仅针对Release 模式的编译和最终的Release apk打包。
0 0
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- 在Android Studio中有六种依赖
- Android Studio中有六种依赖
- android studio 增加依赖
- Android Studio依赖排除
- android studio 包依赖
- Android studio依赖项目
- android studio MyToast 依赖
- Android Studio 依赖管理
- android studio 依赖问题
- Android Studio dependencies依赖
- Android Studio依赖aar
- 【杭电】[3635]Dragon Balls
- 将border-right 的边框变短
- weak引用在什么时候被置为nil
- 数据库分页查询方法
- Oracle数据库的备份方法
- 在Android Studio中有六种依赖
- 顺序表的一些基本运算
- Problem M
- Ext4 Disk Layout (ext4 磁盘布局)
- Android 签名机制:Key的产生方法和签名原理
- HDU 2680 最短路
- 设计模式:单例模式(Singleton)
- windows 7 命令行下设置全局环境变量
- HRBUST 2003 棋盘 (动态规划)