I got a problem with Android Studio 3 canary 2, generate APK file always be a TEST version and can't install on any devices unless using command "adb install -t apkname".
The error is Failure [INSTALL_FAILED_TEST_ONLY]
I got a problem with Android Studio 3 canary 2, generate APK file always be a TEST version and can't install on any devices unless using command "adb install -t apkname".
The error is Failure [INSTALL_FAILED_TEST_ONLY]
I had the same problem with Android Studio 3.0.0 Beta 7
As stated here: https://developer.android.com/studio/run/index.html
Note: The Run button builds an APK with testOnly="true", which means the APK can only be installed via adb (which Android Studio uses). If you want a debuggable APK that people can install without adb, select your debug variant and click Build > Build APK(s).
Same goes for release build, with Android Studio 3
you need to go to Build > Build APK(s)
to have a non testable release apk that you can submit to the store.