I'm aware of this question Google Play error: cannot upload a test-only APK.
But I've built by assemble{Flavor}{Flavor}Release
and Developer Console still rejected my build, while assembleRelease
worked but took a long time because it has built all of the flavors. Only adding android.injected.testOnly=false
to gradle.properties helps. Any ideas what is wrong?