NDK建造没有找到一个命令 [英] ndk-build not found as a command

查看:120
本文介绍了NDK建造没有找到一个命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在与Android的SDK一会儿和放大器;对面的规定来使用NDK

I have been working with Android SDK for a while & just came across an requirement to use the NDK

所以,我下载了Android NDK的Windows。在跳台第一个例子,当我试图使用NDK的例子中定义的工艺打造的库

So, I downloaded the Android NDK for Windows. Jumping on the first example, when I am trying to build the library using the process defined in the NDK example

<一个href="http://developer.android.com/sdk/ndk/overview.html">http://developer.android.com/sdk/ndk/overview.html

具体命令/ NDK建造在命令行

Specifically the command /ndk-build from the command line

我收到错误

NDK建造不被识别为一个内部或外部命令,可操作的程序或批处理文件

ndk-build is not recognized as an internal or external command, operable program or batch file

我添加了NDK建造的路径在PATH变量,甚至试图调用命令将文件夹,还是同样的错误

I have added the path for ndk-build in the PATH variable and even tried calling the command going to the folder, still the same error

是否有人有线索?

推荐答案

想这应该是一个评论的答案吧。

Guess that should have been an answer instead of a comment.

您必须使用Cygwin作为你的shell才能运行NDK建造。
请参见 http://www.cygwin.com/

You must use Cygwin as your shell in order to run ndk-build.
See http://www.cygwin.com/

这篇关于NDK建造没有找到一个命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆