shubham3Dgame shubham3Dgame - 1 month ago 15
Android Question

When i Build my app in Redmi 4 device showing Error

when i build my to app to the my Phone Xiomi Redmi 4 it shows error to uninstall the previous app data but i don't have because i am build my app first time in my phone

error:-


Installation failed with message Failed to establish session. It is
possible that this issue is resolved by uninstalling an existing
version of the apk if it is present, and then re-installing. WARNING:
Uninstalling will remove the application data! Do you want to
uninstall the existing application?


This is my Screenshot

Answer Source

Go to developer options in settings and disable MIUI optimizations. It'll ask you to reboot and it should work after that.