React Native 常见错误 :adb server version(39)doesn't match this client(40);killing…… 的坑

 

错误原因:  因更新了SDK导致。 

 

  博主最近 因为需要 帮 别人 做 课程设计, 自学了 React Native ,

采用的是 Windows +  Android studio + React Native  + Genymotion 模拟器 的 开发方式。

 

 

   在通过Genymotion  创建虚拟设备之后 ,

React Native 常见错误 :adb server version(39)doesn't match this client(40);killing…… 的坑

 

 

使用 adb devices 查看所有连接的设备,报了如下的错误:

React Native 常见错误 :adb server version(39)doesn't match this client(40);killing…… 的坑

 

错误原因:

启动Genymotion Android模拟器时遇到版本不一致问题,因更新了SDK导致。

 

 

解决方法:

打开 Genymotion,点击setttings--->adb,选择本地adb路径

React Native 常见错误 :adb server version(39)doesn't match this client(40);killing…… 的坑

 

解决过后:

React Native 常见错误 :adb server version(39)doesn't match this client(40);killing…… 的坑