If your app works when installed directly on a device but fails after it is installed from Google Play, Google Play's Automatic Protection is the most likely cause. Find your symptom below, then follow the matching option.
1. Find your symptom
| Symptom A | Symptom B | |
|---|---|---|
| What you see | An "Unofficial app detected" popup appears, then the app closes. | The app crashes immediately with no popup. The crash log points to libpairip.so. |
| Play feature enabled | Installer check only | Anti-tamper protection or Device check |
| Why it happens | Google Play changes the app's code and configuration. AppSecurity detects this as tampering (File Integrity Check failure). | Google Play adds the native library libpairip.so, which conflicts with AppSecurity and crashes. |
| How to fix | Option 1 or Option 2 | Option 1 only |
Important: For Symptom B, turning off File Integrity Check (Option 2) does not fix the crash. You must turn off Automatic Protection (Option 1).
2. Option 1: Turn off Automatic Protection in Google Play Console
Works for both Symptom A and Symptom B.
- In Google Play Console, open your app and select Protected with Play from the left menu.
-
Scroll to Automatic protection and turn it off.
- To turn it off for a single release only: while preparing the release, expand the app bundle enhancements section, click the info button next to Automatic protection, and select Turn off protection for this release.
- Upload a new build to Google Play, then install it from Google Play to test it.
3. Option 2: Turn off File Integrity Check in DoveRunner Console
Before you start:
• Requires AppSecurity 3.2.0.0 or later.
• Works only for Symptom A (Installer check is the only Automatic Protection feature enabled).
-
In DoveRunner Console, turn off File Integrity Check for your app.
- Turn on Signing Certificate Identity Check so your app's integrity is still verified. See SHA-256 Certificate Fingerprint Verification Guide.
- Apply AppSecurity again, upload the new build to Google Play, then install it from Google Play to test it.
Related error codes
D60002, D60004, 20055