I want to setup a project to build two different apks that can be installed on the same device - one of them a production apk and the second one a debug apk. To do this I've defined in the build.gradle:
buildTypes {
release {
}
debug {
applicationIdSuffix = ".debug"
}
}
but when I try to sync the gradle I get the error:
Error:org.gradle.api.GradleException: No matching client found for package name 'mypkg.debug'
Aside from the buildTypes section of build.gradle, what else should I do to make this work properly?