I just updated my old projects to as3.0 and builded and signed my app. After when I want to upload to google play:
"you can not upload a test only apk"
Any help?
Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK. Android Studio then displays the unpacked APK files, similar to figure 1.
Upload App Bundles or APK To Google Play This is how you do it: Navigate to the 'Release Management' and then 'App Release' tab in the menu. After this, you will be asked to choose any one type of release from four options- internal test, close test, production release, and an open test.
You don't usually import apk file to run in Android Studio. If you have the apk file and want it to run in an emulator, you have to drag and drop the file in the emulator, it will show up in the download folder of the emulator, and from there you can install it. Save this answer. Show activity on this post.
This is a new feature from Android Studio 3.0. When you execute any gradle command by pressing 'Run' button in Android Studio, it adds testOnly=true
flag to your manifest.
To eliminate this issue just execute assembleRelease
from Gradle pane on the right side of Android Studio.
Evgenii Kanivets is right, but although you can use Build -> Generate Signed APK...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With