请选择 进入手机版 | 继续访问电脑版
12下一页
返回列表 发新帖

[问题求助] 闪退 , 安卓闪退 , ios没有问题

[复制链接]
热狗面包 发表于 2021-9-27 13:04:52
闪退 , 安卓闪退 , ios没有问题
Android|CDY-AN20|10
java.lang.IllegalStateException: J2V8 native library not loaded (j2v8-android-aarch_64/j2v8-android-aarch_64)
        at com.eclipsesource.v8.V8.checkNativeLibraryLoaded(Unknown Source:67)
        at com.eclipsesource.v8.V8.createV8Runtime(Unknown Source:19)
        at com.eclipsesource.v8.V8.createV8Runtime(Unknown Source:1)
        at com.apicloud.a.c.s.d(Unknown Source:0)
        at com.apicloud.a.c.s.a(Unknown Source:5)
        at com.apicloud.a.c.q.<init>(Unknown Source:9)
        at com.apicloud.a.c.l.a(Unknown Source:19)
        at com.apicloud.a.c.k.a(Unknown Source:15)
        at com.apicloud.a.b.a(Unknown Source:71)
        at com.apicloud.a.b.c(Unknown Source:23)
        at com.uzmap.pkg.b.g.h(Unknown Source:2)
        at com.uzmap.pkg.b.g.a(Unknown Source:0)
        at com.uzmap.pkg.uzcore.z.a(Unknown Source:4)
        at com.uzmap.pkg.uzcore.c.b$a.instantiateItem(Unknown Source:51)
        at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:1002)
        at android.support.v4.view.ViewPager.populate(ViewPager.java:1150)
        at android.support.v4.view.ViewPager.populate(ViewPager.java:1084)
        at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1614)
        at android.view.View.measure(View.java:25176)
        at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
        at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChild(ViewGroup.java:7067)
        at android.view.ViewGroup.measureChildren(ViewGroup.java:7044)
        at com.uzmap.pkg.uzcore.d.u.onMeasure(Unknown Source:4)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1580)
        at android.widget.LinearLayout.measureVertical(LinearLayout.java:849)
        at android.widget.LinearLayout.onMeasure(LinearLayout.java:728)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at com.android.internal.policy.DecorView.onMeasure(DecorView.java:1098)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3657)
        at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2282)
        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2679)
        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2154)
        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8872)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1280)
        at android.view.Choreographer.doCallbacks(Choreographer.java:1019)
        at android.view.Choreographer.doFrame(Choreographer.java:911)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1248)
        at android.os.Handler.handleCallback(Handler.java:900)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8668)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/base.apk"],nativeLibraryDirectories=[/**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/lib/arm, /system/fake-libs, /**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/base.apk!/lib/armeabi, /system/lib]]] couldn't find "libj2v8.so"
        at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
        at java.lang.System.loadLibrary(System.java:1668)
        at com.eclipsesource.v8.LibraryLoader.loadLibrary(Unknown Source:8)
        at com.eclipsesource.v8.V8.load(Unknown Source:3)
        at com.eclipsesource.v8.V8.createV8Runtime(Unknown Source:11)
        ... 55 more
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/base.apk"],nativeLibraryDirectories=[/**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/lib/arm, /system/fake-libs, /**.**sales.aqd-AJ3ZVP4QW_teUYWumR2ypA==/base.apk!/lib/armeabi, /system/lib]]] couldn't find "libj2v8.so"
        at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
        at java.lang.System.loadLibrary(System.java:1668)
        at com.eclipsesource.v8.LibraryLoader.loadLibrary(Unknown Source:8)
        at com.eclipsesource.v8.V8.load(Unknown Source:3)
        at com.eclipsesource.v8.V8.createV8Runtime(Unknown Source:11)
        at com.eclipsesource.v8.V8.createV8Runtime(Unknown Source:1)
        at com.apicloud.a.c.s.d(Unknown Source:0)
        at com.apicloud.a.c.s.a(Unknown Source:5)
        at com.apicloud.a.c.q.<init>(Unknown Source:9)
        at com.apicloud.a.c.l.a(Unknown Source:19)
        at com.apicloud.a.c.k.a(Unknown Source:15)
        at com.apicloud.a.b.a(Unknown Source:71)
        at com.apicloud.a.b.c(Unknown Source:23)
        at com.uzmap.pkg.b.g.h(Unknown Source:2)
        at com.uzmap.pkg.b.g.a(Unknown Source:0)
        at com.uzmap.pkg.uzcore.z.a(Unknown Source:4)
        at com.uzmap.pkg.uzcore.c.b$a.instantiateItem(Unknown Source:51)
        at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:1002)
        at android.support.v4.view.ViewPager.populate(ViewPager.java:1150)
        at android.support.v4.view.ViewPager.populate(ViewPager.java:1084)
        at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1614)
        at android.view.View.measure(View.java:25176)
        at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:735)
        at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:481)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChild(ViewGroup.java:7067)
        at android.view.ViewGroup.measureChildren(ViewGroup.java:7044)
        at com.uzmap.pkg.uzcore.d.u.onMeasure(Unknown Source:4)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1580)
        at android.widget.LinearLayout.measureVertical(LinearLayout.java:849)
        at android.widget.LinearLayout.onMeasure(LinearLayout.java:728)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7109)
        at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
        at com.android.internal.policy.DecorView.onMeasure(DecorView.java:1098)
        at android.view.View.measure(View.java:25176)
        at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3657)
        at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2282)
        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2679)
        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2154)
        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8872)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1280)
        at android.view.Choreographer.doCallbacks(Choreographer.java:1019)
        at android.view.Choreographer.doFrame(Choreographer.java:911)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1248)
        at android.os.Handler.handleCallback(Handler.java:900)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8668)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)


12条回复

热狗面包 转正司机 598Y币
新的项目 , 里面什么代码都没有 , app.json里写入tabbar , 更新 , 安卓就闪退
技术支持-F 管理员 26174Y币
热狗面包 发表于 2021-9-27 13:06
新的项目 , 里面什么代码都没有 , app.json里写入tabbar , 更新 , 安卓就闪退

config.xml 中配置avm true 了吗?

可以选择不同的引擎版本编译测试看看
热狗面包 转正司机 598Y币
技术支持-F 发表于 2021-9-28 20:30
config.xml 中配置avm true 了吗?

可以选择不同的引擎版本编译测试看看

设置true了 , 引擎版本 3.0.14和3.0.13的都试过 , 都不行 , 安卓安装自定义包后 , 更新一次就进不去了 , 一直闪退
技术支持-F 管理员 26174Y币
热狗面包 发表于 2021-9-29 09:16
设置true了 , 引擎版本 3.0.14和3.0.13的都试过 , 都不行 , 安卓安装自定义包后 , 更新一次就进不去了 ,  ...

那说明代码有错误吧,对照新建应用时选择的模版看看
热狗面包 转正司机 598Y币
技术支持-F 发表于 2021-9-29 19:43
那说明代码有错误吧,对照新建应用时选择的模版看看

但是 , 其他的代码都没有 , 就app,json里有代码 , 并且是复制的可以运行的APP的代码 , 如果是代码错误的话 , ios应该报错吧 , 但是ios并没有报错
技术支持-F 管理员 26174Y币
热狗面包 发表于 2021-9-30 08:13
但是 , 其他的代码都没有 , 就app,json里有代码 , 并且是复制的可以运行的APP的代码 , 如果是代码错误的 ...

代码包发出来
热狗面包 转正司机 598Y币

{
    "name": "root",
    "hideNavigationBar": true,
    "bgColor": "#fff",
    "navigationBar": {
        "background": "#5982C2",
        "shadow": "rgba(0,0,0,0)",
        "color": "#fff",
        "fontSize": 18,
        "hideBackButton": true
    },
    "tabBar": {
        "background": "#fff",
        "shadow": "#eee",
        "color": "#8795A6",
        "selectedColor": "#026C73",
        "textOffset": 6,
        "fontSize": 11,
        "scrollEnabled": true,
        "index": 0,
        "preload": 2,
        "frames": [{
            "name": "index",
            "url": "./pages/index/index.stml",
            "title": "首页"
        }, {
            "name": "msg",
            "url": "./pages/msg/msg.stml",
            "title": "菜单"
        }, {
            "name": "我的",
            "url": "./pages/my/my.stml",
            "title": "我的"
        }],
        "list": [{
            "text": "首页",
            "iconPath": "./image/menu_no.png",
            "selectedIconPath": "./image/menu.png"
        }, {
            "text": "消息",
            "iconPath": "./image/msg_no.png",
            "selectedIconPath": "./image/msg.png"
        }, {
            "text": "我的",
            "iconPath": "./image/my_no.png",
            "selectedIconPath": "./image/my.png"
        }]
    }
}

把tabbar注释了 , 安卓就不闪退 , 不注释就闪退
热狗面包 转正司机 598Y币

新建的项目就不闪退 , 有没有可能是建项目的时候选择的不对呢
特特法爷 管理员 3335Y币
看代码没有问题
12下一页
您需要登录后才可以回帖 登录

本版积分规则