1***@qq.com
1***@qq.com
  • 发布:2024-01-17 17:56
  • 更新:2024-01-17 17:56
  • 阅读:134

【报Bug】联迪APOS A8卓5.1.1系统,同步手机端程序文件完成...一直 卡在 同步手机端程序文件完成...

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: macOS13.5.2

HBuilderX类型: 正式

HBuilderX版本号: 3.98

手机系统: Android

手机系统版本号: Android 5.1

手机厂商: 智能POS机终端

手机机型: APOS A8

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
2024-01-18 16:14:40.800 12589-23787/com.foxhis.storeapp2 E/EMASNAccs_NetworkSdk: [awcn.TnetSpdySession]|[seq:28265648.AWCN8_1] sendCustomFrame dataId:8 type:200  
2024-01-18 16:14:40.974 12589-12933/com.foxhis.storeapp2 E/EMASNAccs_NetworkSdk: [awcn.TnetSpdySession]|[seq:28265648.AWCN8_1] [spdyCustomControlFrameRecvCallback] len:131 frameCb:com.taobao.accs.net.j@22e5dc04  
2024-01-18 16:14:40.976 12589-12933/com.foxhis.storeapp2 E/EMASNAccs_NetworkSdk: [awcn.TnetSpdySession]|[seq:28265648.AWCN8_1] str:20 0 0 7f 0 7d 60 0 2f 5a 61 69 36 2f 57 59 63 45 4a 4d 44 41 42 49 72 68 6c 67 6c 43 32 37 76 7c 63 6f 6d 2e 66 6f 78 68 69 73 2e 73 74 6f 72 65 61 70 70 32 7c 7c e 34 7c 73 61 6c 7c 61 63 63 73 2d 69 6f 74 f 31 37 30 35 35 36 35 36 38 30 37 39 37 2e 38 0 0 7b 22 64 61 74 61 54 79 70 65 22 3a 22 70 69 6e 67 72 65 73 22 2c 22 74 69 6d 65 49 6e 74 65 72 76 61 6c 22 3a 33 36 30 30 7d   
2024-01-18 16:20:03.208 24267-24267/com.foxhis.storeapp2 E/PushAppProxy: onCreate  
2024-01-18 16:20:03.216 24267-24267/com.foxhis.storeapp2 E/X5InitImpl: x5 init  
2024-01-18 16:20:14.286 24267-24347/com.foxhis.storeapp2 E/weex: tryUseRunTimeApi ? false  
2024-01-18 16:20:14.638 24267-24267/com.foxhis.storeapp2 E/WeexInstanceMgr: restartWeex-------  
2024-01-18 16:20:15.806 24267-24347/com.foxhis.storeapp2 E/WXParams: setCrashFilePath: /data/data/com.foxhis.storeapp2/app_crash  
2024-01-18 16:20:15.806 24267-24347/com.foxhis.storeapp2 E/weex: weexjss's Path is/data/app/com.foxhis.storeapp2-1/lib/arm/libweexjss.so  
2024-01-18 16:20:15.855 24267-24347/com.foxhis.storeapp2 E/weex: getUseSingleProcess is running false  
2024-01-18 16:20:15.855 24267-24347/com.foxhis.storeapp2 E/weex: getReleaseMap:true  
2024-01-18 16:20:15.856 24267-24347/com.foxhis.storeapp2 E/weex: getLibJsbPath is running /data/data/com.foxhis.storeapp2/cache/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so  
2024-01-18 16:20:15.856 24267-24347/com.foxhis.storeapp2 E/weex: getLibLdPath is running /data/app/com.foxhis.storeapp2-1/lib/arm:/vendor/lib:/system/lib:/lib:/usr/lib:/home/EPT_Middleware/lib  
2024-01-18 16:20:15.889 24267-24347/com.foxhis.storeapp2 E/WeexCore: startupPie :1  
2024-01-18 16:20:17.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: WeexJSConnection catch: spinWaitPeer timeout  
2024-01-18 16:20:17.953 24267-24358/com.foxhis.storeapp2 E/WeexCore: IPCException server spinWaitPeer timeout  
2024-01-18 16:20:17.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: JSFramwork init start sender is null  
2024-01-18 16:20:17.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:17.954 24267-24358/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:17.956 24267-24347/com.foxhis.storeapp2 E/WeexCore: startupPie :1  
2024-01-18 16:20:20.952 24267-24361/com.foxhis.storeapp2 E/WeexCore: IPCException server spinWaitPeer timeout  
2024-01-18 16:20:20.952 24267-24347/com.foxhis.storeapp2 E/WeexCore: WeexJSConnection catch: spinWaitPeer timeout  
2024-01-18 16:20:20.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: JSFramwork init start sender is null  
2024-01-18 16:20:20.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:20.954 24267-24361/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:20.964 24267-24347/com.foxhis.storeapp2 E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null  
2024-01-18 16:20:20.965 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invokeInitFramework  ExecuteJavaScript fail  
2024-01-18 16:20:21.233 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
2024-01-18 16:20:21.234 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
2024-01-18 16:20:21.496 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
2024-01-18 16:20:21.497 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
2024-01-18 16:20:21.669 24267-24347/com.foxhis.storeapp2 E/WXParams: setCrashFilePath: /data/data/com.foxhis.storeapp2/app_crash  
2024-01-18 16:20:21.670 24267-24347/com.foxhis.storeapp2 E/weex: getUseSingleProcess is running false  
2024-01-18 16:20:21.670 24267-24347/com.foxhis.storeapp2 E/weex: getReleaseMap:true  
2024-01-18 16:20:21.671 24267-24347/com.foxhis.storeapp2 E/weex: getLibJsbPath is running /data/data/com.foxhis.storeapp2/cache/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so  
2024-01-18 16:20:21.671 24267-24347/com.foxhis.storeapp2 E/weex: getLibLdPath is running /data/app/com.foxhis.storeapp2-1/lib/arm:/vendor/lib:/system/lib:/lib:/usr/lib:/home/EPT_Middleware/lib  
2024-01-18 16:20:21.686 24267-24347/com.foxhis.storeapp2 E/WeexCore: startupPie :1  
2024-01-18 16:20:23.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: WeexJSConnection catch: spinWaitPeer timeout  
2024-01-18 16:20:23.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: JSFramwork init start sender is null  
2024-01-18 16:20:23.953 24267-24367/com.foxhis.storeapp2 E/WeexCore: IPCException server spinWaitPeer timeout  
2024-01-18 16:20:23.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:23.955 24267-24367/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:23.959 24267-24347/com.foxhis.storeapp2 E/WeexCore: startupPie :1  
2024-01-18 16:20:26.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: WeexJSConnection catch: spinWaitPeer timeout  
2024-01-18 16:20:26.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: JSFramwork init start sender is null  
2024-01-18 16:20:26.953 24267-24347/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:26.954 24267-24347/com.foxhis.storeapp2 E/WeexCore: script_bridge_in_multi_process.cpp:1116,ScriptBridgeInMultiProcess DELETE  
2024-01-18 16:20:26.963 24267-24369/com.foxhis.storeapp2 E/WeexCore: IPCException server spinWaitPeer timeout  
2024-01-18 16:20:26.964 24267-24369/com.foxhis.storeapp2 E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap  
2024-01-18 16:20:26.966 24267-24347/com.foxhis.storeapp2 E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null  
2024-01-18 16:20:26.967 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invokeInitFramework  ExecuteJavaScript fail  
2024-01-18 16:20:26.973 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.  
2024-01-18 16:20:26.973 24267-24347/com.foxhis.storeapp2 E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized. 

操作步骤:

1.云打包一运行就是白屏
2.本地运行 卡在同步手机端程序文件完成.

预期结果:

显示

实际结果:

白屏

bug描述:

业务开发过程中发现有一部分POS机, 系统版本5.1可以运行,但有几个POS机不能运行,本地调试一直 卡在 同步手机端程序文件完成, (尝试过云打包后发布POS机app商店下载,就是白屏),

社区hello-uniapp 也尝试过安装,只有底部tab显示 页面就是白屏

根据错误日志 chatgpt分析如下

好的,让我来分析下这个App的Weex初始化日志:  

日志一开始可以看到Weex环境的初始化,调用了一系列获取配置和SO库路径的方法。  
在启动过程中出现了多次"spinWaitPeer timeout"的错误,这与之前遇到的情况类似,是Weex JS和native通信机制出现问题,导致初始化被中断。  
重复尝试初始化和通信,又看到了发送方为null,JS框架初始化失败的日志,终于不再重试,失败结束。  
之后调用Weex模块的日志出现framework.js未初始化的错误。  
在整个过程中没有成功完成过JS Framework的初始化,native和JS之间的通信机制明显有问题。  
所以我的判断是:  

Weex SO库和Java端环境准备没问题,但是JS Framework初始化一直失败。  
很可能是通信机制配置有误,或者包名和Weex项目配置不匹配导致客户端和服务端无法连接。  
需要检查下native端的ipc和JS端的通信接口是否匹配和正确配置。  
也可以检查下build.gradle中的appId、appName和JS项目中的配置。  
这就是我的分析,请让我知道如果有任何其他问题或需要我解释的地方!
2024-01-17 17:56 负责人:无 分享
已邀请:

要回复问题请先登录注册