20

When I try to update my app (installing signed APK with higher version manually on app already installed from playstore), it is not being installed (" App not installed") and shows the following error in Studio :

I/Finsky: [1144] com.google.android.finsky.verifier.impl.en.c(263): Verifying id=8, result=-1
I/Finsky: [1144] com.google.android.finsky.verifier.impl.dq.a(37): 
Installation silently blocked for com.somename.somename
I/Finsky: [1] com.google.android.finsky.verifier.impl.en.c(139): Verification 
complete: id=8, package_name=com.somename.somename
V/ActivityThread: SVC-Destroying service 
com.google.android.finsky.verifier.impl.PackageVerificationService@995aa6e
V/ActivityManager: Broadcast: Intent { 
act=com.android.packageinstaller.ACTION_INSTALL_COMMIT flg=0x10 (has extras) 
} ordered=false userid=0 callerApp=null
V/ActivityManager: Broadcast: Intent { 
act=com.google.android.gms.safetynet.action.HARMFUL_APP_BLOCKED flg=0x10 } 
ordered=false userid=0 callerApp=ProcessRecord{6b6f45e 
1758:com.google.android.gms/u0a13}
D/InstallAppProgress: Installation error code: 3

where com.somename.somename is my package name.

The app which is live on playstore is signed with v1 signature, & the newly generated signed APK is also built with v1 signature.

compileSdkVersion 23 buildToolVersion 26.0.1 targetSdkVersion 23

For SDK Versions >= M I checked "Apps" in "Settings" to try "Uninstall for all users", but the app wasn't listed there (hence was uninstalled completely)

For SDK Versions < M It was able to update for 1 time but repeating the same process was a failure.

The APK is installed successfully if not previously installed.

Pranav Karnik
  • 3,318
  • 3
  • 35
  • 47
  • Well, if the `flg` value listed after `HARMFUL_APP_BLOCKED` corresponds to [these integer constants](https://developers.google.com/android/reference/com/google/android/gms/safetynet/VerifyAppsConstants), then SafetyNet thinks that _"The APK potentially contains rooting capabilities."_ – Michael Jul 12 '18 at 16:08
  • But I am able to install it every time freshely. So why is is blocking only when installing on existing app with lower version & what can I do to solve it? – Pranav Karnik Jul 12 '18 at 16:11
  • Were you able to solve this? – Dhruvam Sharma Aug 10 '19 at 11:38

1 Answers1

58

I faced the same issue recently. Seems like it was caused by the latest Google Play update. My app was successfully installed on the device with Android 8 but failed to install on Android 7.

Going to Google Play -> Play Protect and turning off Scanning device for security threats helped me.

Konstantin Raspopov
  • 1,565
  • 1
  • 14
  • 20
  • 1
    Fixed the issue for me on Android 9 too. Full path to setting: settings -> security & privacy -> google play protect -> gear icon -> scan device for security threats -> off – anttikoo Jun 18 '19 at 20:21