I have Mono for Android trial version and am having some trouble with the MapsAndLocation demo.
I start up the emulator, yet when I select ‘Run->Start Without Debuggin’, I get the following error:
C:\Users\Simon\Documents\Xamarin\MapsAndLocationDemo\xamarin-monodroid-samples-d76baf3\MapsAndLocationDemo\obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(33,33): Error: package com.google.android.maps does not exist
extends com.google.android.maps.MapActivity
As well as another 20 errors.
What do I need to fix this situation. Do I need to install an additional package? If so, what is it, and where can I find it?
thanks
Please ensure you are deploying to an emulator that targets Google APIs.
To do this create a new emulator in the Android Virtual Device Manager and change the target from “Android 2.2 – API Level 8” to Google API eg. “Google APIs (Google Inc.) – API Level 16”.
If you cannot see any Google API targets you will need to install one by using the Android SDK manager.