SDK location not found. Define location with sdk.dir in the local
来源:互联网 发布:通知栏网络图标不见了 编辑:程序博客网 时间:2024/06/05 18:39
react-native 运行android程序报 SDK location not found. Define location with sdk.dir in the local
解决方法:
1、android项目根目录新建 local.properties 内容为:/Users/用户名/Library/Android/sdk (sdk 目录)
2、终端输入 vi .bash_profile
输入
export ANDROID_HOME=/Users/ouhimehime/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
如图:
最后 保存退出, 如果无法保存 输入 wq! 强制保存退出。
阅读全文
0 0
- SDK location not found, define location with sdk.dir in the local.properties
- SDK location not found. Define location with sdk.dir in the local
- SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID
- Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an A
- > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDRO
- SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID
- SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDRO
- SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID
- SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID
- Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an A
- Error:(17, 0) SDK location not found. Define location with sdk.dir in the local.properties file or w
- Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variab
- SDK location not found.Denfine location with sdk.dir。。。。
- SDK location not found. Define location with...的解决方法
- SDK location not found
- 更新sdk后,点击sdk管理器报出location of the android sdk has not setup in the prefrences
- location of the android sdk has not been setup in the preferences
- location of the android sdk has not been setup in the preferences的解决方法
- Nginx中worker_connections的问题
- es5 head安装
- SQL 利用游标循环添加数据
- Intellij idea解决tomcat报错:Error listenerStart.
- Common application properties
- SDK location not found. Define location with sdk.dir in the local
- java反射方法详解
- html之使用inline-block,div错位处理
- JDBC之处理可滚动的结果集和可更新的结果集
- openCV mingw+cmake编译的bug/error笔记
- 省级期刊发表要求
- python画图
- caffe-fcn-solver.py
- CDH中 Apache Kylin使用spark引擎构建Cube