Build Android Studio app via command line

后端 未结 12 1757
梦谈多话
梦谈多话 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:23

    note, you can also do this within Android Studio by clicking the gradle window, and then the 'elephant' button. This will open a new window called "run anything" (can also be found by searching for that name in 'search everywhere') where you can manually type any gradle command you want in. Not "quite" command line, but often provides more of what I need than windows command line.

    This allows you to give optional params to gradle tasks, etc.

提交回复
热议问题