'Why a signed apk says: app not installed, but vs code runs it perfectly
Could you help me why installing an apk says: The app is not installed. (Tested another android phone with the same result)
I have created the default flutter app with the same command: "flutter build apk" and it installs correctly.
My app using google_ sign_in package and signed with keystore. On the very same andrid device the usb driven application from VS Code runs perfectly.
Solution 1:[1]
first uninstall the older app which is installed by debugging usb Then Install the release apk
The signature mismatches with debug and release apk so you may get app not installed msg!!!
Solution 2:[2]
Run flutter build apk --release for release version and go to your
AppName>build>app>outputs>apk>release you will find it there.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | GoVindh |
| Solution 2 | Abdallah Abdel Aziz |
