简体   繁体   中英

HERE-sdk.aar missing the RoutingEngine class

I'm trying to use the HERE SDK FOR ANDROID (PREMIUM EDITION) SDK version 3.18.3 for routing/directions. I am using this method to get a route. I can not get the RoutingEngine class to import from the HERE-sdk.aar I did doublecheck the file, RoutingEngine is not within the HERE-sdk.aar After that I tried to use the docs from HERE.com but they also use the RoutingEngine. Other aspects of the.aar file work properly. What can I do to get around this?

I have searched on SO here are other questions that didn't help. redownloading sdk didn't resolve issue . I came across this Get file path from FTPService for use in RoutingEngine this was for another system.

What else can I do?

It depends on whether you want to use the older 3.x based Premium Edition or the new 4.x Navigate Edition or Explore Edition . They share a completely new technology stack and are not compatible with the older 3.x based Premium Edition .

The RoutingEngine is only part of the new editions. And your example code link is pointing to the 4.x based editions.

If you still want to use the Premium Edition , use these example apps . They are hosted on a different GitHub repo, including this routing example. The code base is very different and thus, no RoutingEngine is available for the 3.x editions.

For the new 4.x editions, Explore Edition or Navigate Edition , you can find the fitting example apps here , which is where your above link is coming from.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM