这里-sdk.aar 缺少 RoutingEngine class

HERE-sdk.aar missing the RoutingEngine class

我正在尝试将 HERE SDK 用于 ANDROID(高级版)SDK 版本 3.18.3 用于 routing/directions。我正在使用 this method 获取路线。我无法让 RoutingEngine class 从 HERE-sdk.aar 导入我确实仔细检查了文件,RoutingEngine 不在 HERE-sdk.aar 之后我尝试使用来自 HERE.com 但他们也使用 RoutingEngine。 .aar 文件的其他方面工作正常。我该怎么做才能解决这个问题?

我在 SO 上搜索了其他没有帮助的问题。 redownloading sdk didn't resolve issue。我遇到了这个 Get file path from FTPService for use in RoutingEngine 这是针对另一个系统的。

我还能做什么?

这取决于您是要使用旧的 3.x 基于 高级版 还是新的 4.x 导航版探索版。它们共享全新的技术堆栈,并且与基于 的旧版 3.x 不兼容

RoutingEngine只是新版本的一部分。您的示例代码 link 指向基于 4.x 的版本。

如果您仍想使用 Premium Edition, use these example apps. They are hosted on a different GitHub repo, including this 路由示例。代码库非常不同,因此 3.x 版本没有 RoutingEngine

对于新的 4.x 版本,Explore Edition or Navigate Edition, you can find the fitting example apps here,这是您上面 link 的来源。