react-native run-android DeviceException Could not create ADB Bridge

后端 未结 5 508
星月不相逢
星月不相逢 2021-01-01 13:03

I have created a React-Native Project,When I run react-native run-ios,I get the build successed.But when I run react-native run-android I get this

相关标签:
5条回答
  • 2021-01-01 13:06

    Press CTRL+SHIFT+ESC to open the Task Manager and delete the ADB.EXE process

    0 讨论(0)
  • 2021-01-01 13:14

    If you have issue while building your project using react-native run-android and build failed with an exception of not creating adb bridge.

    solution:

    Go to your project path or any path in command prompt and type : adb kill-server after it again build your project using react-native run-android

    0 讨论(0)
  • 2021-01-01 13:28

    1.Go to android sdk path => c:\User\AppData\Local\Android\Sdk\platform-tools 2.Enter adb kill-sever && adb start-server

    0 讨论(0)
  • 2021-01-01 13:32

    I have solve it, The error is because Genymotion use its own SDK not custom SDK location.I solved this question with the URL follow:

    React-Native, Android, Genymotion: ADB server didn't ACK

    thanks for Simon!

    0 讨论(0)
  • 2021-01-01 13:33

    If you are using your device over usb for development then it is an error of your adb path.. set the path to D:\Android\sdk\platform-tools... in pc properties->advanced settings->environment variables->system variables..it worked for me.

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