관리 메뉴

플랫폼공작소 IT Blog

[miui] installation failed with message failed to establish sessiom 본문

mobile

[miui] installation failed with message failed to establish sessiom

솜픽(Sompic) 플랫폼공작소 2017. 9. 12. 11:42

Unable to install android app via usb debugging

Problem

I know this is an old question but I am trying to install my app the very first time on Redmi note 4. Whenever i try to install it displays a dialog saying..

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! And it gives error after this.

This app is not installed before,I have cleared cache,rebuild the project,restarted my phone but nothing is working.


solution

This issue was happening on my phone which is Xiaomi Phones running on Miui 8. After turning off Miui Optimizations on Developer Settings, restarting the phone a recompiling the application it worked.




Miui Optimizations.......... - _ -


Reference : https://stackoverflow.com/questions/42626035/unable-to-install-android-app-via-usb-debugging

0 Comments
댓글쓰기 폼