【发布时间】:2015-12-14 13:26:43
【问题描述】:
我开始运行android时出现错误
What went wrong:
A problem occurred evaluating project ':app'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.
【问题讨论】:
-
这发生在我的第一个 hello world 中,即使 env 变量设置正确,我所做的是,在 android studio 中打开 android 文件夹并点击运行按钮(绿色播放图标)它有效,确保你的地铁在你这样做的时候正在运行,我认为它正在发生,因为我在安装后没有打开 android studio,当我在 andriod studio 中打开 android 文件夹时,我注意到它更新了一些东西,现在甚至 npm run安卓运行良好
标签: android react-native