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

前端 未结 16 1362
情深已故
情深已故 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: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 :)

提交回复
热议问题