“找不到符号:__FastDevLauncher"阻止部署到 Android 模拟器 [英] "cannot find symbol: __FastDevLauncher" blocking deployment to Android Emulator
问题描述
我正在使用 Xamarin Studio 和 MonoGame 将 Windows Phone 应用移植到 Android.
I'm porting a Windows Phone app to Android using Xamarin Studio and MonoGame.
设置非常顺利,但是当我尝试将项目部署到模拟器时,出现以下错误:
Set up has gone very smoothly, but when I try to deploy the project to the emulator, I get the following errors:
C:\Users\croberts\Documents\Visual Studio 2010\Projects\Shelter_Port\Shelter_Android\Shelter_Android\obj\Debug\android\src\mono\TrialSplashScreen60e2a7ae51784c7983049dbf7b06b10c.java(101,101): Error: cannot find symbol
symbol : class __FastDevLauncher
location: package mono.android
Intent intent = new Intent (TrialSplashScreen60e2a7ae51784c7983049dbf7b06b10c.this, mono.android.__FastDevLauncher.class);
<小时>
当谷歌搜索提到 __FastDevLauncher 类时,我找不到任何东西,而 TrialSplashScreen#####.java 表明这可能与我使用 Xamarin 的 30 天试用版有关?
I haven't been able to find anything when google searching that mentions the __FastDevLauncher class, and the TrialSplashScreen#####.java suggests maybe it's something to do with my using the 30 day trial of Xamarin?
无论如何,我不知道从哪里开始寻找修复程序,因为我的代码中没有直接引用它.
Regardless, I'm stumped as to where to start looking for a fix as it's not anything directly referenced in my code.
在此先感谢您的帮助.
克里斯
推荐答案
从源代码构建 MonoGame 库修复了这个问题.Xamarin 2.0 版本和 MonoGame 3.0.0.0 版本之间似乎存在链接错误.我下载了 MonoGame 的最新稳定源代码,并在我自己的源代码旁边构建了库,构建错误消失了.
Building the MonoGame libraries from source fixes this issue. It seems there was a linking error between the Xamarin 2.0 release and the MonoGame 3.0.0.0 release. I downloaded the latest stable source for MonoGame and built the libraries alongside my own source and the build error vanished.
这篇关于“找不到符号:__FastDevLauncher"阻止部署到 Android 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!