Problem
App not installed shows when installing signed apk.
The Application will install without any problem for the first time, later if I uninstall and try to reinstall the same apk it shows App not installed
Tried the following things
- Tried only with V1 signature
- Tried only with V2 signature
- Tried with both with V1 and V2 signature
- Changed Build Variant to
Release
- Tried on 3 different devices
- Uninstalled previous version from the device(for all users) and release folder
- Removed cache memory of the smartphone.
Note :
I had error a while creating keystore Key was created with errors: Picked up _JAVA_OPTIONS: -Xmx512M
last week but this was solved. But it was resolved by deleting _JAVA_OPTIONS
from environment variables (https://stackoverflow.com/a/57556572/6088883)
I think after this the started.
No Problem with codes
I am 100% sure that it's not a problem in the code Because of I tried making signed apk for the basic login activity application. didn't change a single line of code. But the result was same
Tried the following thread
- How to fix App not installed error in Android
- How to Fix Android App Not Installed Error?
- App not installed
- Is there any way to fix APP not installed? (Exact same issue)
None of them solved the issue
Temporary fix
The only method working was disabling Google Play Protect (which is not a proper fix)