APK installation failed: [INSTALL_FAILED_VERIFICATION_FAILURE]
Solution 1:
You need to disable verification of the APK during ADB install. If the setting in Security is greyed out or isn't working as it should try shelling into the device and, depending on which settings database the setting is in per your API level (Global, System, Secure) run
$ adb shell settings put global verifier_verify_adb_installs 0
If you can actually set it, it will prevent checking of APKs over ADB.
Sometimes you will need to disable the package verifier as well using:
$ adb shell settings put global package_verifier_enable 0
On KitKat, you can see here that these settings are in the Global database:
http://androidxref.com/4.4.2_r2/xref/frameworks/base/core/java/android/provider/Settings.java#5015
Solution 2:
Go to developer settings and disable verify apps via USB. Then you can install .apk without any problem.
Solution 3:
In your phone,Go to:
setting/DeveloperOption/verify apps over USB
and disable it.
Solution 4:
This what worked for, I was trying to install on device with android 6.0
-
Settings > Developer Options > Then Turn off Verify Apps over USB
See first image
Then
Settings > Security > Then Turn on Unknown sources
Finally
- Do not forget to uninstall your app and start afresh.
Got to Settings > Developer Options > Then Turn off Verify Apps over
Settings > Security > Then Turn on Unknown sources