Adding MapLibre to a new Android project is not working

I am following the documentation to add the MapLiber library to a new Android project

The Gradle sync seems to be working ok, but I get this error when trying to import the package


Unresolved reference: maplibre

this is how I added the dependency

implementation ''

What am i doing wrong?

>Solution :

There is a problem on documentation. You can init like that:

import com.mapbox.mapboxsdk.Mapbox;


enter image description here

Leave a Reply