Cannot build osmdroid example

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot build osmdroid example

Christian

Hi,

 

I am trying to build the osmdroid example provided on GitHub: https://github.com/xamarin/monodroid-samples/tree/master/OsmDroidBindingExample.

 

Visual Studio 2010 throws the following errors:

-          Error     122         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        16           17           OSMDroidTest

-          Error     123         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        25           37           OSMDroidTest

-          Error     124         The name 'TileSourceFactory' does not exist in the current context               OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        26           36           OSMDroidTest

-          Error     125         The type or namespace name 'GeoPoint' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        32           35           OSMDroidTest

 

Xamarin version is 4.12.3.3

 

What am I missing here?

 

Regards

Christian

 

 


_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
Reply | Threaded
Open this post in threaded view
|

Re: Cannot build osmdroid example

Andrew Krivosheyenko
What if you run the build second time, right after it has failed? Would it succeed?


On Wed, May 7, 2014 at 5:19 PM, Breyer, Christian <[hidden email]> wrote:

Hi,

 

I am trying to build the osmdroid example provided on GitHub: https://github.com/xamarin/monodroid-samples/tree/master/OsmDroidBindingExample.

 

Visual Studio 2010 throws the following errors:

-          Error     122         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        16           17           OSMDroidTest

-          Error     123         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        25           37           OSMDroidTest

-          Error     124         The name 'TileSourceFactory' does not exist in the current context               OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        26           36           OSMDroidTest

-          Error     125         The type or namespace name 'GeoPoint' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        32           35           OSMDroidTest

 

Xamarin version is 4.12.3.3

 

What am I missing here?

 

Regards

Christian

 

 


_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid



_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
Reply | Threaded
Open this post in threaded view
|

Re: Cannot build osmdroid example

moljac
In reply to this post by Christian
Please provide diagnostic output, especially JARTOXML and BINDINGSGENERATOR warnings. Those may indicate problems

Cheers

Mel

Miljenko CvjetkoSent from my iPhone

On 7. 5. 2014., at 16:19, "Breyer, Christian" <[hidden email]> wrote:

Hi,

 

I am trying to build the osmdroid example provided on GitHub: https://github.com/xamarin/monodroid-samples/tree/master/OsmDroidBindingExample.

 

Visual Studio 2010 throws the following errors:

-          Error     122         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        16           17           OSMDroidTest

-          Error     123         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        25           37           OSMDroidTest

-          Error     124         The name 'TileSourceFactory' does not exist in the current context               OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        26           36           OSMDroidTest

-          Error     125         The type or namespace name 'GeoPoint' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        32           35           OSMDroidTest

 

Xamarin version is 4.12.3.3

 

What am I missing here?

 

Regards

Christian

 

 

_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
Reply | Threaded
Open this post in threaded view
|

Re: Cannot build osmdroid example

Christian

Thanks for your replies.

 

I read the diagnostic output, googled a bit and apparently I was missing something very obvious: the .NET Framework 4.5.

 

Didn’t see any note that it is required to bind the osmdroid library. Might be helpful to add that somewhere.

 

Regards

Christian

 

 

Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Miljenko Cvjetko
Gesendet: Donnerstag, 8. Mai 2014 19:54
An: Discussions related to Mono for Android
Cc: [hidden email]
Betreff: Re: [mono-android] Cannot build osmdroid example

 

Please provide diagnostic output, especially JARTOXML and BINDINGSGENERATOR warnings. Those may indicate problems

 

Cheers

 

Mel

Miljenko Cvjetko

Sent from my iPhone


On 7. 5. 2014., at 16:19, "Breyer, Christian" <[hidden email]> wrote:

Hi,

 

I am trying to build the osmdroid example provided on GitHub: https://github.com/xamarin/monodroid-samples/tree/master/OsmDroidBindingExample.

 

Visual Studio 2010 throws the following errors:

-          Error     122         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        16           17           OSMDroidTest

-          Error     123         The type or namespace name 'MapView' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        25           37           OSMDroidTest

-          Error     124         The name 'TileSourceFactory' does not exist in the current context               OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        26           36           OSMDroidTest

-          Error     125         The type or namespace name 'GeoPoint' could not be found (are you missing a using directive or an assembly reference?)  OsmDroidBindingExample\OSMDroidTest\MainActivity.cs        32           35           OSMDroidTest

 

Xamarin version is 4.12.3.3

 

What am I missing here?

 

Regards

Christian

 

 

_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


_______________________________________________
Monodroid mailing list
[hidden email]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid