I would ask why you even need to do this, but I'm afraid of the answer.
you should be able to do something like:
for (int i = 0 ...) {
def flavor = android.productFlavors.create("flavor$i")
flavor.packageName = ...
flavor.versionCode = ...
}
On Wed, Feb 19, 2014 at 10:49 PM, 杨辉 wrote:
>
normal:
android {
...
defaultConfig {
minSdkVersion 8
versionCode 10
}
productFlavors {
flavor1 {
packageName "com.example.flavor1"
versionCode 20
}
flavor2 {
packageName "com.example.flavor2"
I'm running into this still on 0.4.6. It's definitely a PATH problem but
I'm not sure how to solve it - setting up a PATH variable in the settings
doesn't work.
-Daniel
On Wednesday, February 12, 2014 10:37:06 AM UTC-6, Matt Gaunt wrote:
>
> Cool, so it's definitely my task and agree with ever
There is a bug open to be able to invoke an arbitrary gradle task as
part of the run configuration. (Currently, you'll see that the run
configuration simply specifies a "Gradle-aware make" as its task, with
no arguments). You'll be able to add your custom task once that bug
gets fixed.
https://cod
Hello,
I've been working on getting some dependencies setup for testing an Android
app. We need to run one or two server configuration scripts before any
tests run. Command-line, I'm able to hook
into connectedInstrumentTestGoogleDebug. But it seems that Android Studio
doesn't run these ever
I was waiting to have the time to produce a minimal working project with
the problem and i have been unable to reproduce it. It is working correctly
now.
I am sure that i performed a project clean when the problem appeared so it
was not an incremental build problem either.
Maybe it had somethi
I was waiting to have the time to produce a minimal working project with
the problem and i have been unable to reproduce it. It is working correctly
now.
I am sure that i performed a project clean when the problem appeared so it
was not an incremental build problem either.
Maybe it had somethi