大部分来自于
gradle build 会生成默认的debug版本 和 release 版本
gradle assemblerelease不生成debug版本,只生成release版本
gradle assembledebug 不生成release版本,只生成debug版本
可以在下面的命令显示出得结果中看到版本的意思。
查看所有的task ,命令 :gradle tasks
osdeMacBook-Pro:app os$ gradle tasks
:app:tasks
------------------------------------------------------------
All tasks runnable from project :app
------------------------------------------------------------
Android tasks
-------------
androidDependencies- Displays the Android dependencies of the project
signingReport- Displays the signing info for each variant
Build tasks
-----------
assemble- Assembles all variants of all applications and secondary packages.
assembleDebug- Assembles all Debug builds
assembleHiapk- Assembles all Hiapk builds
assembleHiapkDebug