Rumah > Soal Jawab > teks badan
使用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中不能使用,如何解决?