Launch custom Gradle Android build in Android Studio

后端 未结 1 771
生来不讨喜
生来不讨喜 2021-02-19 06:56

Is there an easy way to build, install, and auto-launch a custom Gradle build in Android Studio?

\"Build

1条回答
  •  借酒劲吻你
    2021-02-19 08:01

    You can always select a different buildVariant from the buildVariant window on Android Studio. And then if you press the run/play button you should be able to install and run the app on your device/emulator.

    build variants

    And also for me running gradlew install** on the terminal does not launch the app. If that's something you are looking for then take a look at build.gradle and buildhelper.gradle here

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