Bug 7924 - MapActivity does not build! Quite a big problem!
Summary: MapActivity does not build! Quite a big problem!
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-10-22 10:16 UTC by Dylan
Modified: 2012-10-23 07:25 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Dylan 2012-10-22 10:16:34 UTC
A pretty critical issue. MapActivity no longer seems to work. I get a whole bunch of Java issues which prohibits the packaging of the app. 

I have literally just downloaded the sample map application off your site to try and duplicate my problem and not even your sample builds anymore (http://docs.xamarin.com/@api/deki/files/3144/=MapsAndLocationDemo.zip)

MonoDevelop 3.0.4.7
M4A 4.2.6

------------------------------


obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(5,33): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(5,33): javac error : 	extends com.google.android.maps.MapActivity

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(5,33): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(5,33): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(5,33): javac error : 	extends com.google.android.maps.Overlay

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(5,33): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(26,71): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(26,71): javac error : 	public void draw (android.graphics.Canvas p0, com.google.android.maps.MapView p1, boolean p2)

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(26,71): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(31,81): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(31,81): javac error : 	private native void n_draw (android.graphics.Canvas p0, com.google.android.maps.MapView p1, boolean p2);

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(31,81): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(5,33): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(5,33): javac error : 	extends com.google.android.maps.ItemizedOverlay

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(5,33): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(27,32): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(27,32): javac error : 	public com.google.android.maps.OverlayItem createItem (int p0)

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(27,32): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(32,40): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(32,40): javac error : 	private native com.google.android.maps.OverlayItem n_createItem (int p0);

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(32,40): javac error : 



obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(5,33): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(5,33): javac error : 	extends com.google.android.maps.MapActivity

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(5,33): javac error : 



obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(8,42): javac error :  package com.google.android.maps.ItemizedOverlay does not exist

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(8,42): javac error : 		com.google.android.maps.ItemizedOverlay.OnFocusChangeListener

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(8,42): javac error : 



obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,53): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,53): javac error : 	public void onFocusChanged (com.google.android.maps.ItemizedOverlay p0, com.google.android.maps.OverlayItem p1)

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,53): javac error : 



obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,97): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,97): javac error : 	public void onFocusChanged (com.google.android.maps.ItemizedOverlay p0, com.google.android.maps.OverlayItem p1)

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(27,97): javac error : 



obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,63): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,63): javac error : 	private native void n_onFocusChanged (com.google.android.maps.ItemizedOverlay p0, com.google.android.maps.OverlayItem p1);

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,63): javac error : 



obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,107): javac error :  package com.google.android.maps does not exist

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,107): javac error : 	private native void n_onFocusChanged (com.google.android.maps.ItemizedOverlay p0, com.google.android.maps.OverlayItem p1);

obj\Debug\android\src\mono\com\google\android\maps\ItemizedOverlay_OnFocusChangeListenerImplementor.java(32,107): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(24,7): javac error :  cannot find symbol

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(24,7): javac error : symbol  : method getClass()

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(24,7): javac error : location: class mapsandlocationdemo.MapWithOverlayActivity

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(24,7): javac error : 		if (getClass () == MapWithOverlayActivity.class)

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(24,7): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(25,28): javac error :  Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in mono.android.TypeManager cannot be applied to (java.lang.String,java.lang.String,mapsandlocationdemo.MapWithOverlayActivity,java.lang.Object[])

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(25,28): javac error : 			mono.android.TypeManager.Activate ("MapsAndLocationDemo.MapWithOverlayActivity, MapsAndLocationDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] {  });

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity.java(25,28): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(21,7): javac error :  cannot find symbol

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(21,7): javac error : symbol  : method getClass()

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(21,7): javac error : location: class mapsandlocationdemo.MapWithOverlayActivity_CustomMapOverlay

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(21,7): javac error : 		if (getClass () == MapWithOverlayActivity_CustomMapOverlay.class)

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(21,7): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(22,28): javac error :  Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in mono.android.TypeManager cannot be applied to (java.lang.String,java.lang.String,mapsandlocationdemo.MapWithOverlayActivity_CustomMapOverlay,java.lang.Object[])

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(22,28): javac error : 			mono.android.TypeManager.Activate ("MapsAndLocationDemo.MapWithOverlayActivity/CustomMapOverlay, MapsAndLocationDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] {  });

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_CustomMapOverlay.java(22,28): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(22,7): javac error :  cannot find symbol

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(22,7): javac error : symbol  : method getClass()

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(22,7): javac error : location: class mapsandlocationdemo.MapWithOverlayActivity_MonkeyItemizedOverlay

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(22,7): javac error : 		if (getClass () == MapWithOverlayActivity_MonkeyItemizedOverlay.class)

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(22,7): javac error : 



obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(23,28): javac error :  Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in mono.android.TypeManager cannot be applied to (java.lang.String,java.lang.String,mapsandlocationdemo.MapWithOverlayActivity_MonkeyItemizedOverlay,java.lang.Object[])

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(23,28): javac error : 			mono.android.TypeManager.Activate ("MapsAndLocationDemo.MapWithOverlayActivity/MonkeyItemizedOverlay, MapsAndLocationDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Graphics.Drawables.Drawable, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c4c4237547e4b6cd", this, new java.lang.Object[] { p0 });

obj\Debug\android\src\mapsandlocationdemo\MapWithOverlayActivity_MonkeyItemizedOverlay.java(23,28): javac error : 



obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(22,7): javac error :  cannot find symbol

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(22,7): javac error : symbol  : method getClass()

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(22,7): javac error : location: class mapsandlocationdemo.SampleMapActivity

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(22,7): javac error : 		if (getClass () == SampleMapActivity.class)

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(22,7): javac error : 



obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(23,28): error :  Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in mono.android.TypeManager cannot be applied to (java.lang.String,java.lang.String,mapsandlocationdemo.SampleMapActivity,java.lang.Object[])

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(23,28): error : 			mono.android.TypeManager.Activate ("MapsAndLocationDemo.SampleMapActivity, MapsAndLocationDemo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] {  });

obj\Debug\android\src\mapsandlocationdemo\SampleMapActivity.java(23,28): error : 


    0 Warning(s)
    21 Error(s)
Comment 1 Dylan 2012-10-23 07:25:35 UTC
Resolved by installing the Google API for the respective platforms.