Hi all
Today I managed to build release signed variant of apk containing targeting both abiearm-v7a and arm64-v8a and run it on the real device.
I used Android Studio’s Build Apk menu command, then Run menu command and my App runs on my USB connected phone. And it works fine.
But…
After that I want to show my app to my friend. Here is what I did to run my apk on his phone:
- Connect his phone on my PC’s USB port
- Copy my apk to his phone
- On his phone using File Manager App, I clicked on the apk file.
… and installation process failed to install apk. The reason - INSTALL_FAILED_TEST_ONLY, which Android Studio puts silently in AndroidManifest.xml.
So, if all tests are passed successfully and I’m ready to show my apk, how to proceed to get fully functional apk in release mode (without any debug or test info), which can be installed by copy/paste and click on arbitrary phone, without need to upload it to any App store?
Do I have to use adb console tool for the final build, not Android Studio?
Thanks