Difference between assemble vs assembleDebug vs assembleRelease

后端 未结 1 863
暗喜
暗喜 2021-01-19 08:01

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

相关标签:
1条回答
  • 2021-01-19 08:35

    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

    0 讨论(0)
提交回复
热议问题