Difference between assemble vs assembleDebug vs assembleRelease

纵饮孤独 提交于 2020-01-30 06:53:24

问题


I am trying to learn bitrise platform. As of now I don't know what exactly a use of this platform also. Anyways while I was doing setup and it is asking for to select gradle-task to run.

Does anyone know what is the difference between assemble vs assembleDebug vs assembleRelease ?

Did anyone get a chance to try this platform ever in the mobile application ?


回答1:


An Android project has at least two outputs: a debug APK and a release APK. Each of these has its own anchor task to facilitate building them separately:

  1. assemble
  2. assembleDebug
  3. assembleRelease

They both depend on other tasks that execute the multiple steps needed to build an APK. The assemble task depends on both, so calling it will build both APKs.

http://tools.android.com/tech-docs/new-build-system/user-guide



来源:https://stackoverflow.com/questions/43951806/difference-between-assemble-vs-assembledebug-vs-assemblerelease

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!