Android studio安装碰见的坑

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/w329636271/article/details/61192066


一.问题1

adb devices 不能查看到Genymotion的虚拟机.并且有时候会报错

adb server version (31) doesn't match this client (36); killing... error: could not install *sm

谷歌了许多还是不能解决问题!最后还是自己解决的.

1.首先 Genymotion中设置adb的路径.为android studio sdk的adb的路径


2.设置系统的path的adb的运行的路径 为上图我们所配置的路径.

3.可能会因为360手机助手导致的问题,所以卸载360手机助手, 详见 http://blog.csdn.net/rodulf/article/details/51939974

二.问题2


VIRTUAL BOX 报错
被召者 RC:
E_NOINTERFACE (0x80004002)


通过降低版本还有选择兼容性来解决.



更改选择 4.3.12 版本

最后给出react-native的android studios的搭建地址 https://reactnative.cn/docs/0.42/getting-started.html#content

猜你喜欢

转载自blog.csdn.net/w329636271/article/details/61192066