a***@163.com
a***@163.com
  • 发布:2022-06-23 11:52
  • 更新:2022-06-23 16:58
  • 阅读:352

android版本集成高德定位调用uni.getlocation报错

分类:uni小程序sdk

2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: java.lang.NoSuchMethodError: No interface method isStreamApp()Z in class Lio/dcloud/common/DHInterface/IApp; or its super classes (declaration of 'io.dcloud.common.DHInterface.IApp' appears in /data/app/comstxx.littleredridinghood-oVrfSUfhLPld4E_9Ol2JDA==/base.apk!classes3.dex)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.js.geolocation.amap.AMapGeoManager.execute(AMapGeoManager.java:67)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.js.geolocation.a.a(SourceFile:15)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.js.geolocation.GeolocationFeatureImpl$a.onGranted(SourceFile:3)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.common.adapter.util.PermissionUtil.usePermission(SourceFile:4)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.js.geolocation.GeolocationFeatureImpl.execute(SourceFile:5)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.h.b.a(SourceFile:141)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.h.b.b(SourceFile:3)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.h.b.processEvent(SourceFile:174)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.f.b.c.dispatchEvent(SourceFile:22)
2022-06-23 11:32:18.492 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.common.core.ui.l.processEvent(SourceFile:2)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.common.adapter.ui.AdaUniWebView.exec(SourceFile:7)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.common.adapter.ui.AdaUniWebView$1.execute(SourceFile:5)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(SourceFile:3)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at android.os.Handler.dispatchMessage(Handler.java:107)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at android.os.Looper.loop(Looper.java:214)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7397)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
2022-06-23 11:32:18.493 11460-11460/comstxx.littleredridinghood W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
2022-06-23 11:32:18.494 11460-11460/comstxx.littleredridinghood W/DCloud_Exception: FeatureMgr.processEvent
java.lang.NoSuchMethodError: No interface method isStreamApp()Z in class Lio/dcloud/common/DHInterface/IApp; or its super classes (declaration of 'io.dcloud.common.DHInterface.IApp' appears in /data/app/comstxx.littleredridinghood-oVrfSUfhLPld4E_9Ol2JDA==/base.apk!classes3.dex)
at io.dcloud.js.geolocation.amap.AMapGeoManager.execute(AMapGeoManager.java:67)
at io.dcloud.js.geolocation.a.a(SourceFile:15)
at io.dcloud.js.geolocation.GeolocationFeatureImpl$a.onGranted(SourceFile:3)
at io.dcloud.common.adapter.util.PermissionUtil.usePermission(SourceFile:4)
at io.dcloud.js.geolocation.GeolocationFeatureImpl.execute(SourceFile:5)
at io.dcloud.h.b.a(SourceFile:141)
at io.dcloud.h.b.b(SourceFile:3)
at io.dcloud.h.b.processEvent(SourceFile:174)
at io.dcloud.f.b.c.dispatchEvent(SourceFile:22)
at io.dcloud.common.core.ui.l.processEvent(SourceFile:2)
at io.dcloud.common.adapter.ui.AdaUniWebView.exec(SourceFile:7)
at io.dcloud.common.adapter.ui.AdaUniWebView$1.execute(SourceFile:5)
at io.dcloud.common.adapter.util.MessageHandler$1.handleMessage(SourceFile:3)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7397)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

2022-06-23 11:52 负责人:无 分享
已邀请:
a***@163.com

a***@163.com (作者)

SDK的版本问题,参考release note

该问题目前已经被锁定, 无法添加新回复