Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can not Install debug Apk from build folder, Blocked by play protect

I have been trying to copy debug Apk from my App Build folder(App->Build->Output->Apk) and trying to install to the device but I am getting error message while installing "Blocked by play protect".

But when I Sign my Apk with my debug KeyStore and I can install successfully without this error for a very first time but again When I generating APK with same debug keystore for the same APk I am facing the same issue that is Blocked by play protect.

enter image description here

like image 401
ASKAR ALI Avatar asked Jul 13 '18 09:07

ASKAR ALI


People also ask

Why are apps blocked by Play protect?

This message appears if the application has not been verified by Google Play Protect. In most cases, this issue occurs because the applications under development have yet to be scanned by Play Protect.

How do I enable debug on APK?

To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK.


1 Answers

Nothing is wrong with your apk. The warning is prompted becquse the apk is not signed. You can disable Play protect by following this tuto and everything will work fine.

You can find the option to enable or disable Google Play Protect in the same Settings -> Google -> Security -> Google Play Protect page, where you will find options “Scan device for security threats” and “Improve harmful app detection“.

like image 57
maheryhaja Avatar answered Sep 21 '22 16:09

maheryhaja