无法在 android 中启动 cygpath [英] Unable to launch cygpath in android

查看:10
本文介绍了无法在 android 中启动 cygpath的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将项目导入我的工作区时,它会显示错误

When i am trying to import a project to my workspace it shows an error

[2013-03-17 16:14:15 - 无法启动 cygpath.Cygwin 在路径?] java.io.IOException:无法运行程序cygpath":CreateProcess error=2, 系统找不到指定的文件

[2013-03-17 16:14:15 - Unable to launch cygpath. Is Cygwin on the path?] java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified

此项目包含 jni 库,它是一个基于 ndk 的项目.为什么会发生此错误,我无法将此项目导入我的系统.

this project contains jni libraries,it is a ndk based project.why this error happen i cant import this project to my system.

推荐答案

去你的项目右键单击那里.然后获取属性并选择 c/c++ 构建,在那里你可以看到构建设置.在构建设置中给出ndk 在您的系统中的路径,例如:

go to your project right click there.then take properties and select the c/c++ build and there you can see the build settings .and in the build settings give the path of ndk in your system like:

D:androidandroid-ndk-r8d
dk-build.cmd NDK_DEBUG=1

现在清理您的项目并运行.就是这样.

Now clean your project and run. Thats it.

这篇关于无法在 android 中启动 cygpath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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