我正在使用以下环境进行开发:
- Windows 10 家庭版 x64
- Visual Studio Community 2015 14.0.25.123.00 更新 2
- Xamarin 4.0.3.214
- Xamarin.Android 6.0.3.5
我尝试编译并在虚拟设备 Xamarin_Android_API_15 上执行此解决方案:
https://github.com/burf2000/OpenGLXamarin.git首先,我遇到了以下错误:
"major version 51 is newer than 50, the highest major version supported by this compiler. [javac] It is recommended that the compiler be upgraded."
于是我卸载了 JDK 6。
现在我又遇到了以下错误:
Skipped Deploy: Project: OpenGLDemo.Droid, Configuration: Debug Any CPU Project not selected to build for this solution configuration
在我的“解决方案配置属性”中,针对任何 CPU,OpenGLDemo.Droid 的构建是已勾选的。
我尝试删除 obj/ 和 bin/ 文件夹、清理项目以及卸载并重新加载项目。
但这些都没有解决问题…… 帮帮我吧!