我有
错误,当我开始运行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.@H_301_2@
>转到你的反应原生项目的android /目录
>使用这一行创建一个名为local.properties的
文件:
sdk.dir = /Users/USERNAME/Library/Android/sdk@H_301_2@
其中USERNAME是您的OSX用户名
原文链接:https://www.f2er.com/react/303262.html