Hello.
I Just generated an apk with: ionic cordova build android and when installing it on the mobile gives me the following error apk play protect blocked.
Any solution?
Hello.
I Just generated an apk with: ionic cordova build android and when installing it on the mobile gives me the following error apk play protect blocked.
Any solution?
ionic cordova build apk is for debug purposes only, to build an app for upload to playstore you should use:
ionic cordova build andoid --release
then you should sign it ,also zipalign it:
please follow this guide https://ionicframework.com/docs/v1/guide/publishing.html
this error is without uploading it to the platstore just sending the apk the mobile
oh i see have u ticked install from unknown sources in your settings?
Yes. install from unknown sources in your settings
change the name of apk and try again, if a pop up shows click install anyway
Here is the screenshort when we try installing first time ionic app in device,:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Adding above 2 lines as per the documentation deploying-mobile resolved the issue for me