android ndk 安装,android ndk 安装

Introduction:

-------------

Please read docs/OVERVIEW.html to understand what the Android NDK is and is not.

This file gives instructions on how to properly setup your NDK.

I. Requirements:

----------------

The Android NDK currently requires a Linux, OS X or Windows host operating system.

Windows users will need to install Cygwin 1.7 or later (http://www.cygwin.com) to

use the NDK. Note that running it under MSys or Cygwin 1.5 is not supported.

You will need to have the Android SDK and its dependencies installed. The NDK

cannot generate final application packages (.apk files), only the shared library

files that can go into them.

IMPORTANT:

The Android NDK can only be used to target system p_w_picpaths using

the Cupcake (1.5) or later releases of the platform.

This is due to subtle toolchain and ABI related changed that make

it incompatible with 1.0 and 1.1 system p_w_picpaths.

The NDK requires GNU Make 3.81 or later being available on your development

system. Earlier versions of GNU Make might work but have not been tested.

You can check this by running 'make -v' from the command-line. The output

should look like:

GNU Make 3.81

Copyright (C) 2006  Free Software Foundation, Inc.

...

On certain systems, GNU Make might be available through a different command like

'gmake' or 'gnumake'. For these systems, replace 'make' by the appropriate command

when invoking the NDK build system as described in the documentation. You might

also want to define the GNUMAKE environment variable to point to it.

The NDK also requires a Nawk or GNU Awk executable being available on your

development system. Note that the original 'awk' program doesn't implement

the 'match' and 'substr' functions used by the NDK build system.

II. Preparing your installation prebuilt cross-toolchain binaries:

------------------------------------------------------------------

Previous releases required you to run the 'build/host-setup.sh' script to

configure the NDK. However, this step has been removed in release 4 (a.k.a. r4).

The auto-detection and sanity checks that were performed by the script have

been moved into the NDK makefiles (and are now performed each time you invoke

GNU Make).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值