Build Android Studio app via command line

后端 未结 12 1776
梦谈多话
梦谈多话 2020-11-27 10:36

I want to build an Android Studio app (the Gradle build system), but I want to do this via the command line.

12条回答
  •  醉酒成梦
    2020-11-27 11:27

    Try this (OS X only):

    brew install homebrew/versions/gradle110
    gradle build

    You can use gradle tasks to see all tasks available for the current project. No Android Studio is needed here.

提交回复
热议问题