如何使用Android Studio和/或Gradle构build唯一的buildType

我在build.gradle中有几种构buildtypes:

signingConfigs { debug { storeFile file("debug.keystore") storePassword = "android" keyAlias = "androiddebugkey" keyPassword = "android" } unsigned{ storePassword = "" keyAlias = "" keyPassword = "" } release { storeFile file("release.keystore") keyAlias "alias" storePassword "foo" keyPassword "bar" } } buildTypes { release { debuggable false jniDebugBuild false signingConfig signingConfigs.release } unsigned { debuggable false jniDebugBuild false signingConfig signingConfigs.unsigned } debug { debuggable true jniDebugBuild true signingConfig signingConfigs.debug } } 

哪些工作正常,但问题是,我不知道(而且我没有find大量的search后)一种方式如何从Android Studio或命令行构build唯一的构buildtypes。

你知道吗?

Solutions Collecting From Web of "如何使用Android Studio和/或Gradle构build唯一的buildType"