欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Installation failed with message Failed to establish session.

程序员文章站 2022-07-12 22:19:31
...

Installation failed with message Failed to establish session.

Installation failed with message Failed to establish session.

Fix way

The reason for this error is that I configured the adb environment. If there is no configuration of adb, but also reported this error, indicating that adb is occupied, with this command:

adb kill server

If MIUI, there is a ‘open MIUI optimization’ in developer option, just close it!

Reference : http://www.fatalerrors.org/a/installation-failed-with-message-failed-to-establish-session.html