android - vscode使用react native tools无法在编辑器内运行RN项目
高洛峰
高洛峰 2017-04-18 09:20:26
0
0
1212

使用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中不能使用,如何解决?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

répondre à tous(0)
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!