0

我正在为 android 设置 ndk 环境。它给出了如下错误,请帮助我。谢谢。

Errors occurred during the build.
Errors running builder 'Integrated External Tool Builder' on project 'HelloNDK'.
Exception occurred executing command line.
Cannot run program "C:\Users\micro8\Desktop\adt-bundle-windows-x86\android-ndk-r8e\ndk-build" (in directory "C:\Users\micro8\Workspace\HelloNDK"): CreateProcess error=193, %1 is not a valid Win32 application
Exception occurred executing command line.
Cannot run program "C:\Users\micro8\Desktop\adt-bundle-windows-x86\android-ndk-r8e\ndk-build" (in directory "C:\Users\micro8\Workspace\HelloNDK"): CreateProcess error=193, %1 is not a valid Win32 application
4

2 回答 2

2

在 Windows 上,您不应该ndk-buil.cmd运行ndk-build

于 2013-06-14T05:59:09.077 回答
0

由于您的问题是如何在 Eclipse Windows 中“自动”设置 Ndk Build,因此这里是这样做的过程。如果您遵循它,则每次更改存储到 jni 文件夹中的文件时都不需要构建 Ndk . 并尝试为我们提供更全面的标题,以便在您的问题中获得最佳结果。:)

http://mobilepearls.com/labs/ndk-builder-in-eclipse/

于 2014-02-19T14:39:25.927 回答