Truexinology的技术博客

前端技术分享总结,每天进步一点点,尽量每周一篇更新


  • 首页

  • 分类

  • 关于

  • 归档

  • 标签

  • 公益404

1.react native --- android 配置

发表于 2017-08-27

Q1. NDK is missing a “toolchains” directory.If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /usr/local/opt/android-sdk-macosx.If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

1
2
3
4
5
6
7
8
A1.直接下载 https://developer.android.com/ndk/downloads/index.html(可能需要翻墙哦)
最后去命令行输入
open .zshrc
然后复制下面代码进去:(路径可能不一样)
# For Android
export ANDROID_SDK_ROOT=/usr/local/opt/android-sdk
export ANDROID_NDK_ROOT=/usr/local/opt/android-ndk

Hello World

发表于 2017-08-27

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Alex Chou

Alex Chou

目标:FULL STACK

2 日志
© 2017 Alex Chou
由 Hexo 强力驱动
|
主题 — NexT.Muse v5.1.2