Can't understand toturials

I just started learning android programming and I want to make a map app.
But i really can’t understand your toturials.It’s not really step by step and when i put codes in my app it make errors. even your sample app code have so many errors and i can’t run it(screenshot).
please help me I dont know what should I do.

Downloads | Maps SDK for Android | TomTom Developer Portal. You need to implement depedencies.

//library required to display map

//library required for search

//library required for routing

//library required for traffic

//library required for geofencing

//extention library for map custom style and ui support

//extention library for rx-java2

//extention library for kotlin support

//extention library for displaying static map

//extention library for driving features

If you want to follow the tutorial step by step look at Search along a route tutorial. On the other hand, the Time to leave tutorial contains only code related to TomTom SDK.

I did and still have errors

I did all how you don’t get errors?
I have worked with other SDKs before, they all need to import their library, but I have not seen anything like this on this site.

Have you tried to download and run the code from the tutorial?

Check your project and module build.gradle if you did everything from the Preriquested section of Search along a route tutorial.

why i have 120 errors in main activity?!
whats wrong??

You can try to clean build or File → Invalidate Caches / Restart in Android Studio, if it is not working
can you show both project and module build Gradle?

I imported this code: GitHub - tomtom-international/tomtom-use-case-search-along-a-route-android: Search along a route e
I tried Invalidate Caches / Restart and now i have 170 errors XD WTF!
what is your gradle version?

I’ve just checked it with the newest gradle 7.0.1 and it is working.
Did you add this repository in project build.gradle?

maven {
        url ""
1 Like

I think you and I have the same problem. It seems our gradle can’t direct us to despite us having that maven line in there. Are you using AndroidStudio Arctic Fox?