com.android.ddmlib.InstallException: Failed to establish session react-native

前端 未结 16 1321
情深已故
情深已故 2020-12-12 19:05

I am trying to run react-native android app in my nexus5 emulator

adb devices
List of devices attached
emulator-5554   device

started pack

相关标签:
16条回答
  • 2020-12-12 19:43

    Simply go to developer options and enable Install via USB below Debugging options.

    0 讨论(0)
  • 2020-12-12 19:43

    In MI Devices. I solve this problem by goto Developer options -> turn on Install via USB. I hope it useful!

    0 讨论(0)
  • 2020-12-12 19:45

    If you had already installed app on device go delete it. It's work for me

    0 讨论(0)
  • 2020-12-12 19:45

    This issue happens to occur in Xiomi devices. In developers option, you don't have to disable MIUI optimization(disabling this won't sync your accounts) instead, enable 'USB debugging' option along with 'Install via USB' and 'USB debugging(Security settings)'. This will solve the issue :)

    0 讨论(0)
提交回复
热议问题