Visual C ++跨平台构建失败

时间:2016-08-15 17:23:17

标签: c++ build visual-studio-2015 cross-platform

我刚刚安装了VS Community 2015,在创建OpenGLES应用程序(Android / iOS)并构建它之后,我收到了一条错误消息

1>------ Build started: Project: OpenGLESApp2.Android.Packaging, Configuration: Debug ARM ------
1>  ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
1>  ANT_HOME=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\apache-ant-1.9.3\
1>  JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25
1>  java.home=C:\Program Files (x86)\Java\jre1.8.0_91
1>  NDK_ROOT=C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r11c\
1>  ANDROID_NDK_HOME=C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r11c\
1>  The system cannot find the path specified.
1>C:\Program Files (x86)\MSBuild\Microsoft\MDD\Android\V140\Android.Common.targets(378,5): error MSB3073: The command ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\apache-ant-1.9.3\\bin\ant.bat" debug -Dout.final.file="C:\Users\Me\documents\visual studio 2015\Projects\OpenGLESApp2\OpenGLESApp2\OpenGLESApp2.Android.Packaging\ARM\Debug\OpenGLESApp2.apk"" exited with code 3.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

另外我注意到“C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Apps \ apache-ant-1.9.3 \

中没有 bin 文件夹

如何摆脱这个错误?

0 个答案:

没有答案