Tuesday, May 8, 2012

Prepare Java Build Path to osmdroid and slf4j-android libs for OpenStreetMapView

Download current osmdroid-android-3.0.8.jar and slf4j-android-1.5.8.jar.

Create a new Android project with API level higher than 1.5, Android 3. Create a libs folder under your project, copy the downloaded jar files in.

Right click the project -> Properties.

Select Java Build path, click Add JARs... button.

Select the downloaded jars, and click OK.

Click OK.


~`fiza`~ said...

Thanks!^^ searching for tutorial like this!:)

Hindus said...

I was struggling with newer version of osmdroid library and finally downloaded your project and used included jars. Effect = everything works just as it should. Thank you!