从崇高的文本2运行ndk-build

时间:2015-10-08 20:12:40

标签: android-ndk sublimetext2 sublimetext3

我试图在Sublime文本2中运行一个Android NativeActivity项目的ndk-build。我希望能够在sublime文本中解析编译错误。

我设置了以下sublime-build文件

{
    "cmd": ["ndk-build", "-j"],
    "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
    "working_dir": "[path to my NativeActivity project]",

    "variants":
    [
        {
            "name": "Clean",
            "cmd": ["ndk-build", "clean"]
        }
    ]
}

当我点击ctrl-b进行构建时,我得到以下输出....

[Error 2] The system cannot find the file specified
[cmd:  [u'ndk-build', u'-j']]
[dir:  [path to my NativeActivity project]]
[path: C:\Python27\;C:\Python27\Scripts;C:\Tcl\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;c:\Progra~2\CVSNT;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\android-ndk-r10e;C:\Program Files\Java\jdk1.8.0_45\bin]
[Finished]

0 个答案:

没有答案