【发布时间】:2018-11-29 14:56:07
【问题描述】:
Mapbox SDK:6.7.0
在 gradle 中启用 proguard 后,出现以下错误。
com.mapbox.services.android.location.LostLocationEngine: can't find superclass or interface com.mapbox.services.android.telemetry.location.LocationEngine
com.mapbox.services.android.location.MockLocationEngine: can't find referenced class com.mapbox.services.android.telemetry.location.LocationEngine$Type
我在我的应用程序中使用了 LocationComponent、LocationEngine 和 LocationEngineProvider 类。我是否需要在 proguard 规则中添加任何内容才能生成启用了 proguard 的构建?
在评论这些类的用法时,可以在启用 proguard 的情况下生成构建。
【问题讨论】:
标签: mapbox mapbox-android