标签:android style http color os 文件 2014 art
第一步,下载安装cygwin,(模拟Linux 的编译环境),我们可以到Cygwin的官方网站下载Cygwin的安装程序,地址是: http://www.cygwin.com/ ;
开始安装Cygwin,安装教程http://jingyan.baidu.com/article/48a42057accae3a92525045a.html
第二部,下载ndk,http://developer.android.com/tools/sdk/ndk/index.html;下载完成,解压;
第三步,在Cygwin的安装目录的etc的文件夹下,找到profile的文件:
在profile中配置ndk的环境变量:
# Setup some default paths. Note that this order will allow user installed
# software to override ‘system‘ software.
# Modifying these default path settings can be done in different ways.
# To learn more about startup files, refer to your shell‘s man page.
PATH="/usr/local/bin:/usr/bin:/cygdrive/e/Android/Android_softWare_tools/NDK/android-ndk64-r10-windows-x86_64/android-ndk-r10:
${PATH}"
MANPATH="/usr/local/man:/usr/share/man:/usr/man:${MANPATH}"
INFOPATH="/usr/local/info:/usr/share/info:/usr/info:${INFOPATH}"
# Set the user id
USER="$(id -un)"
# TMP and TEMP as defined in the Windows environment must be kept
重启Cygwin,然后执行ndk-build:
如果出现如下信息表示配置成功:
windows下配置android-NDK环境,布布扣,bubuko.com
标签:android style http color os 文件 2014 art
原文地址:http://my.oschina.net/u/936286/blog/295465