ZHAOUNIQUE
ZHAOUNIQUE
  • 发布:2022-03-04 13:44
  • 更新:2022-03-04 17:11
  • 阅读:1201

android 离线打包,高德地图(nvue),hbulidx真机运行正常,打包白屏,Android studio真机运行报错

分类:nvue

android 离线打包,高德地图(nvue),hbulidx真机运行正常,打包白屏,Android studio真机运行报错:

E/com.hxss.hxcrm: No implementation found for void com.autonavi.base.ae.gmap.GLMapEngine.nativeInitParam(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (tried Java_com_autonavi_base_ae_gmap_GLMapEngine_nativeInitParam and Java_com_autonavi_base_ae_gmap_GLMapEngine_nativeInitParamLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2)
E/com.hxss.hxcrm: No implementation found for void com.autonavi.base.amap.mapcore.AMapNativeGlOverlayLayer.nativeCreate(long) (tried Java_com_autonavi_base_amap_mapcore_AMapNativeGlOverlayLayer_nativeCreate and Java_com_autonavi_base_amap_mapcore_AMapNativeGlOverlayLayer_nativeCreate
J)
E/com.hxss.hxcrm: No implementation found for void com.autonavi.base.ae.gmap.GLMapEngine.nativeInitParam(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (tried Java_com_autonavi_base_ae_gmap_GLMapEngine_nativeInitParam and Java_com_autonavi_base_ae_gmap_GLMapEngine_nativeInitParamLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2)
D/HwCustConnectivityManagerImpl: isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID
E/com.hxss.hxcrm: No implementation found for void com.autonavi.base.amap.mapcore.AMapNativeGlOverlayLayer.nativeCreate(long) (tried Java_com_autonavi_base_amap_mapcore_AMapNativeGlOverlayLayer_nativeCreate and Java_com_autonavi_base_amap_mapcore_AMapNativeGlOverlayLayer_nativeCreate
J)
E/com.hxss.hxcrm: No implementation found for float com.autonavi.base.ae.gmap.GLMapState.nativeCalMapZoomScalefactor(int, int, float) (tried Java_com_autonavi_base_ae_gmap_GLMapState_nativeCalMapZoomScalefactor and Java_com_autonavi_base_ae_gmap_GLMapState_nativeCalMapZoomScalefactorIIF)
W/System.err: java.lang.UnsatisfiedLinkError: No implementation found for float com.autonavi.base.ae.gmap.GLMapState.nativeCalMapZoomScalefactor(int, int, float) (tried Java_com_autonavi_base_ae_gmap_GLMapState_nativeCalMapZoomScalefactor and Java_com_autonavi_base_ae_gmap_GLMapState_nativeCalMapZoomScalefactor
IIF)
at com.autonavi.base.ae.gmap.GLMapState.nativeCalMapZoomScalefactor(Native Method)
at com.autonavi.base.ae.gmap.GLMapState.calMapZoomScalefactor(GLMapState.java:257)
at com.amap.api.col.3s.b.a(AMapDelegateImp.java:3557)
at com.amap.api.col.3s.b.changeSurface(AMapDelegateImp.java:3376)
at com.amap.api.col.3s.b.changeSurface(AMapDelegateImp.java:6533)
at com.autonavi.base.ae.gmap.GLMapRender.onSurfaceChanged(GLMapRender.java:235)
at com.amap.api.col.3s.m$i.m(GLTextureView.java:1503)
at com.amap.api.col.3s.m$i.run(GLTextureView.java:1203)
W/Gralloc3: allocator 3.x is not supported
E/ion: ioctl c0044901 failed with code -1: Invalid argument

2022-03-04 13:44 负责人:无 分享
已邀请:
DCloud_Android_THB

DCloud_Android_THB

看着是so没找到,导入map-amap-release.aar。

  • ZHAOUNIQUE (作者)

    map-amap-release.aar 这个包引入了的

    2022-03-04 18:22

ZHAOUNIQUE

ZHAOUNIQUE (作者)

这个包引入了的

  • DCloud_Android_THB

    你这是什么版本sdk?你找一下有没有amap-libs-release.aar,把这个导进来。

    2022-03-04 19:17

  • ZHAOUNIQUE (作者)

    回复 DCloud_Android_THB: amap-libs-release.aar导入了,现在报错:

    Process: com.hxss.hxcrm, PID: 20858

    java.lang.NoSuchMethodError: No static method getInstance()Lio/dcloud/feature/weex/adapter/FrescoLoadUtil; in class Lio/dcloud/feature/weex/adapter/FrescoLoadUtil; or its super classes (declaration of 'io.dcloud.feature.weex.adapter.FrescoLoadUtil' appears in /data/app/com.hxss.hxcrm-rMfypTf7bQJ852w6f4Vxbg==/base.apk!classes3.dex)

    at io.dcloud.feature.weex_amap.adapter.Marker.WXMarker.loadImageToIcon(WXMarker.java:205)

    at io.dcloud.feature.weex_amap.adapter.Marker.WXMarker.setIconInfo(WXMarker.java:159)

    at io.dcloud.feature.weex_amap.adapter.Marker.WXMarker.createMarkerOptions(WXMarker.java:76)

    at io.dcloud.feature.weex_amap.adapter.Marker.WXMarker.<init>(WXMarker.java:41)

    at io.dcloud.feature.weex_amap.adapter.Marker.MarkerMgr.setMarkers(MarkerMgr.java:48)

    at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$23.execute(WXAMapViewComponent.java:645)

    at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.execPaddingTasks(WXAMapViewComponent.java:1230)

    at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$400(WXAMapViewComponent.java:64)

    at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$4$1.run(WXAMapViewComponent.java:242)

    at android.os.Handler.handleCallback(Handler.java:873)

    at android.os.Handler.dispatchMessage(Handler.java:99)

    at android.os.Looper.loop(Looper.java:193)

    at android.app.ActivityThread.main(ActivityThread.java:6669)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

    2022-03-04 23:40

  • DCloud_Android_THB

    回复 ZHAOUNIQUE: 留一下你的qq,我给你看看。

    2022-03-07 11:18

  • ZHAOUNIQUE (作者)

    回复 DCloud_Android_THB: 我用最新的sdk重新搞了离线打包,已经好了,谢谢

    2022-03-07 13:16

  • DCloud_Android_THB

    回复 ZHAOUNIQUE:

    2022-03-07 14:51

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