“cannot find symbol: __FastDevLauncher” blocking deployment to Android Emulator

自闭症网瘾萝莉.ら 提交于 2020-02-08 06:43:25

问题


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);

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.

Thanks in advance for any help.

Chris


回答1:


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.



来源:https://stackoverflow.com/questions/15163492/cannot-find-symbol-fastdevlauncher-blocking-deployment-to-android-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!