试图建立一个转换项目 [英] Attempting to build a converted project
问题描述
大家好,
我最近将一个eclipse项目导入vs2015。现在我正在尝试构建它。
I've recently imported an eclipse project into vs2015. And now I'm attempting to build it.
但是,由于这个错误,我无法做到:
However, I'm unable to, due to this error:
1> --- --- Build build:Project:MyProjPackaging,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\Java \ jdk1.8.0_101
1> java.home = C:\Program Files(x86)\ Java \ jre1.8.0_101
1> NDK_ROOT = C:\ProgramData \ Mysoftoft\AndroidNDK\android-ndk-r10e \
1> ANDROID_NDK_HOME = C:\ProgramData \ Mysoftoft\AndroidNDK\android-ndk-r10e \
1> Buildfile:C:\ Users \ newbie \ Files \ Visual Studio 2015 \Projects \ MyProj\build.xml
1>
1>  ; BUILD FAILED
1> 目标"调试"在项目"MyProj"中不存在。
1>
1> 总时间:0秒
1> C:\程序文件(x86)\ MSBuild \ Mysoftoft \ MDD \ Android \ V140 \ Android.Common.targets(378,5 ):错误MSB3073:命令"" C:\Program Files(x86)\ Microsoft Visual Studio 14.0\Apps \ apache-ant-1.9.3 \\\\\\\\ debug -Dout.final.file =" C:\Users\\\
ewbie\Documents\Visual
Studio 2015 \Projects \ MyProj\ARM\Debug \ MyProjPackaging.apk""退出代码1.
$
==========构建:0成功,1失败,0最新,0跳过==========
1>------ Build started: Project: MyProjPackaging, 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\Java\jdk1.8.0_101
1> java.home=C:\Program Files (x86)\Java\jre1.8.0_101
1> NDK_ROOT=C:\ProgramData\Microsoft\AndroidNDK\android-ndk-r10e\
1> ANDROID_NDK_HOME=C:\ProgramData\Microsoft\AndroidNDK\android-ndk-r10e\
1> Buildfile: C:\Users\newbie\Documents\Visual Studio 2015\Projects\MyProj\build.xml
1>
1> BUILD FAILED
1> Target "debug" does not exist in the project "MyProj".
1>
1> Total time: 0 seconds
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\newbie\Documents\Visual
Studio 2015\Projects\MyProj\ARM\Debug\MyProjPackaging.apk"" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
任何帮助都将不胜感激,
Any help would be appreciated,
Thanx,
新手
推荐答案
嗨新手,
感谢您的发帖。
由于您希望将项目转移到VS,您是否安装了Java语言支持?
Since you would like to transfer the project to VS, did you install Java Language Support ?
如果没有,请通过以下链接安装:
If not, please install it from the following link:
https:/ /visualstudiogallery.msdn.microsoft.com/bc561769-36ff-4a40-9504-e266e8706f93
然后请创建一个新的Java Windows控制台应用程序并构建它以查看它是否可以成功。
Then please create a new Java Windows Console Application and build it to see if it could success.
如果你可以顺利构建它,我认为Java项目的原因尚未确定,它可能与VS 2015有争议。或者你可以
将文件上传到
https://onedrive.live.com/
并与
我们共享链接,我们可以用我们的VS对它进行测试,以检查是否存在任何兼容性问题。
If you could build it smoothly, I think the cause is pending on the Java project, it might be contentious with VS 2015. Or you could upload the file to https://onedrive.live.com/ and share the link with us, we could do a test of it with our VS, to check if there is any compatibility problem.
这篇关于试图建立一个转换项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!