Reputation: 61
I have to test something on my app. I do want create another apk with the same project but i have to install both, the latest and the old one. How can i possible to do this without creating a new prject? thanks
Upvotes: 2
Views: 1734
Reputation: 1
see this link
https://stackoverflow.com/a/18329481/5649082
according to this link
Upvotes: -3
Reputation: 363477
You can do it with a buildType. Something like:
buildTypes {
debug {
applicationIdSuffix ".debug"
}
}
Or you can do it with a flavor
productFlavors {
f1 {
applicationId = "com.example.my.pkg.f1"
}
f2 {
applicationId = "com.example.my.pkg.f2"
}
}
Upvotes: 6