Reputation: 6073
trying to integrate a HERE map into my application. I have a trial key for now.
Cant seem to find RouteManager. Its not on the classpath:
The only thing I have found is a class named "RouteManagerImpl":
Here is RouteManager in the SDK documentation:
Any ideas why is this?
Upvotes: 0
Views: 312
Reputation: 1379
It might be a bit late to answer your question, But this scenario caused because I try to replace Premium-SDK (AAR file) with Starter-SDK and then Gradle build started failing with error Cannot find the package...
even if I can see the Decompiled version of RouteManager
class from AS.
Anyway, Following steps worked for me:
HERE-sdk.aar
from 'libs' folder.implementation(name:'HERE-sdk', ext:'aar')
dependency from app-level build.gradle
file.implementation(name:'HERE-sdk', ext:'aar')
dependency after the implementation fileTree(include: ['*.jar'], dir: 'libs')
(in case if you have any JAR added).RouteManager
class in your app.Upvotes: 0
Reputation: 2190
In the Premium Edition of the HERE SDK, this was renamed some time ago to CoreRouter. RouteManager is only the name in the StarterSDK.
You should use the Premium documentation instead: https://developer.here.com/documentation/android-premium/topics/routing.html
Upvotes: 2