1

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?

Michał Klimczak
  • 12,674
  • 8
  • 66
  • 99

1 Answers1

0

Try install command with -t option

adb install -t /path/to/your/apk/app.apk
shizhen
  • 12,251
  • 9
  • 52
  • 88