adb.exe does not exist react native

不羁岁月 提交于 2020-08-06 07:06:56

问题


while runing react native giving error

File 'C:\Users\inbox\AppData\Local\Android\platform-tools\adb.exe' specified for property 'adbExe' does not exist. while adb.exe exist in path C:\Users\inbox\AppData\Local\Android\Sdk\platform-tools

what is the solution for above problem?


回答1:


I hit this same issue...

Notice that these two paths actually are not the same: C:\Users\inbox\AppData\Local\Android\platform-tools\adb.exe C:\Users\inbox\AppData\Local\Android\Sdk\platform-tools\adb.exe

To fix this, I just created a new folder "platform-tools" at 'C:\Users\inbox\AppData\Local\Android\' and then moved the files adb.exe, AdbWinApi.dll, Adb.WinUsbApi.dll into that folder.

Hope this helps.




回答2:


May be you forgot to add path of adb in SystemsVariable so add adb path Here is the guide for How to Add Adb path



来源:https://stackoverflow.com/questions/51927013/adb-exe-does-not-exist-react-native

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!