本文介绍了构建失败.有关详细信息,请参见构建日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建一个新项目,单击编译",并出现此错误:
I create a new project, click compile, and get this error:
在构建日志中只有以下内容:
In the build log there is only this:
Building: FirstProgram (Debug|x86)
---------------------- Done ----------------------
Build failed.
Build: 1 error, 0 warnings
这是我看到的:
什么原因导致此错误,该如何解决?
What causes this error and how do I fix it?
推荐答案
我以列出的顺序下载并安装了以下所示的软件包:
I downloaded and installed the packages shown below in the order listed:
- JDK 1.6: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31-download-1501634.html 请从上面的列表中选择jdk-6u31-windows-i586.exe安装程序.
- Android SDK: http://dl.google.com/android/installer_r20- windows.exe 完成主安装程序后,请打开SDK Manager并安装以下平台API:7,8,10,12,14
- 适用于Android SDK的单声道: http://下载. xamarin.com/MonoforAndroid/Windows/mono-android-4.4.55.104956787.msi
- 重新启动Xamarin.
- JDK 1.6: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31-download-1501634.html Please choose the jdk-6u31-windows-i586.exe installer from the list above.
- Android SDK: http://dl.google.com/android/installer_r20-windows.exe After the main installer is done, please open the SDK Manager and install the following platform APIs: 7,8,10,12,14
- Mono for Android SDK: http://download.xamarin.com/MonoforAndroid/Windows/mono-android-4.4.55.104956787.msi
- Reboot Xamarin.
这篇关于构建失败.有关详细信息,请参见构建日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!