简体   繁体   English

使用NDK开发Android应用程序时出错

[英]Error while developing android application using ndk

I am developing my first app using android ndk, i tried to configure the location of ndk-build in properties>c/c++>build but still i get the same error every time, i tried to remove .cmd from ndk-build(changed from ndk-build.cmd to ndk-build and vice versa), but iam still getting the same error, here is my screen shot 我正在使用android ndk开发我的第一个应用程序,我尝试在properties> c / c ++> build中配置ndk-build的位置,但是每次我仍然遇到相同的错误,我尝试从ndk-build中删除.cmd(已更改从ndk-build.cmd到ndk-build,反之亦然),但是iam仍然遇到相同的错误,这是我的屏幕截图 在此处输入图片说明

在此处输入图片说明

You should use D:/Work/eclipse/android-ndk/ndk-build.cmd without $ , if you really unzipped the ndk zip file into d:\\work\\eclipse\\android-ndk on your PC. 如果您确实将ndk zip文件解压缩到PC上的d:\\work\\eclipse\\android-ndk ,则应使用不带$的 D:/Work/eclipse/android-ndk/ndk-build.cmd It would be even better to keep the "build command" default (android-ndk.cmd), and define the path to NDK as shown in the screen capture below: 最好保留“ build command”默认值(android-ndk.cmd),并定义NDK的路径,如以下屏幕截图所示:

Android / NDK / NDK位置
(source: suvitruf.ru ) (来源: suvitruf.ru

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM