Started a new project, and this occurred to me:
I am using Genymotion
as my emulator. Not sure what causes this problem.
I tried:
- Rebuilding the project
- Made sure I have enough space in my
emulator
(I have 4.5gb left)
- Check if it's already installed in the
emulator
, it hasn't.
Open terminal, and type adb shell
to access the emulator shell.
Type settings put global verifier_verify_adb_installs 0
on the shell.
I think this is related to the recent Google Play Services update. The verifier is more strict. This command in essence disables the Verify Apps option. From this article.
you have to try to remove the App installed in the emulator manually
Hi @Matthew Francis For the solution you need deselect Verify apps from your genymotion or device setting,
Settings -> Security -> Deselect Verify Apps.
Now then after try it work,
In my case, setting "verifier_verify_adb_installs" to 0 alone is not enough. I need to also set "package_verifier_enable" to 0:
e.g.
adb shell
settings put global package_verifier_enable 0
in Genymotion emulator please goto Seting > Secureity&Location > google play protect
then off the "scan device for security threads" opetion
In my case, stopping "Google Play Services for Instant Apps" solved the problem.