java构建monodroid示例地图应用程序
我正在使用从Xamarin下载的最新地图示例应用程序“MapsAndLoactionDemo”,在Visual Studio 2010中,我收到以下编译错误:
Error 10
Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in mono.安卓.TypeManager cannot be applied to (java.lang.String,java.lang.String,mapsandlocationdemo.MapWithOverlayActivity,java.lang.Object[])
mono.安卓.TypeManager.Activate ("MapsAndLocationDemo.MapWithOverlayActivity, MapsAndLocationDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { });
D:\Projects\Android\MapsAndLocationDemo\MapsAndLocationDemo\obj\Debug\安卓\src\mapsandlocationdemo\MapWithOverlayActivity.java 25 28 MapsAndLocationDemo
怎么了
# 1 楼答案
您需要在模拟器上安装谷歌api
你可以这样做:http://developer.xamarin.com/samples/MapsDemo/
如果您使用的是Genymotion模拟器INSTALL_FAILED_MISSING_SHARED_LIBRARY error in Android