>  Q&A  >  본문

android - vscode使用react native tools无法在编辑器内运行RN项目

使用vscode中的react native tools运行并调试RN项目,但是在输出中却显示

[Error : 0101]  Failed to run the application in Android: Error while executing command 'adb devices': Command failed: adb devices /bin/sh: adb: command not found

但是如果在终端中直接运行

react-native run-android

就可以运行,怀疑是在.bash_profile.zshrc中配置了sdk,但是在vscode中不能使用,如何解决?

高洛峰高洛峰2712일 전1219

모든 응답(0)나는 대답할 것이다

답장 없음
  • 취소회신하다