刨地瓜
刨地瓜
  • 发布:2023-03-31 17:25
  • 更新:2023-03-31 17:25
  • 阅读:218

安卓APP国际化后,切换部分语言后会, 部分手机会出现闪退情况,问分手机页面显示文字会乱码。

分类:uni-app

安卓APP国际化后,切换部分语言后会, 部分手机会出现闪退情况,问分手机页面显示文字会乱码。

使用hbuilerX真机调试和云打包不会出现。但使用离线打包后测试会出现。

基座版本为 HBuilderX.3.7.9.20230324。

使用安卓3.5.3的基座中HBuilder-Integrate-AS项目,进行离线打包操作,测试APP能正常显示。

下面日志中部分乱码的字符原本显示:

  • Relatório
  • Não ligado
  • pontuação

相关日志:

JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0x6f  
A  java_vm_ext.cc:542]     string: '["NWindow","evalJS",["73717499",["typeof UniViewJSBridge !== 'undefined' && UniViewJSBridge.subscribeHandler(\"vdSync\",{\"data\":[[4,[\"-1\",{\"0\":{\"sc\":\"page privacy-page  page-index\",\"c\":\"\"},\"1\":{\"sc\":\"fixed-top-bar\"},\"2\":{\"sc\":\" bar-content\"},\"3\":{\"sc\":\"top-state\"},\"4\":{\"i\":0},\"10\":{\"sc\":\"left\"},\"11\":{\"sc\":\"img\",\"a-src\":\"/static/images/icon-disconnect.png\"},\"12\":{\"t0-0\":\"N?o ligado\"},\"13\":{\"sc\":\"dh-right\"},\"14\":{\"sc\":\"dropdown\"},\"15\":{\"sc\":\"title\"},\"17\":{\"sc\":\"dropdown-list section\",\"c\":\"\"},\"18\":{\"sc\":\"item\"},\"19\":{\"t0-0\":\"scan\"},\"20\":{\"sc\":\"item\"},\"21\":{\"t0-0\":\"Adicionar dispositivo\"},\"22\":{\"sc\":\"carousel\"},\"24\":{\"f\":[]},\"27\":{\"sc\":\"picture-links\"},\"28\":{\"sc\":\"item left-item\"},\"29\":{\"sc\":\"item-content\"},\"30\":{\"sc\":\"left\"},\"31\":{\"sc\":\"title\",\"t0-0\":\"Relat?rio\"},\"32\":{\"sc\":\"desc t-hide2\",\"t0-0\":\"D?-te uma pontua??o\"}  
A  java_vm_ext.cc:542]     input: '0x5b 0x22 0x4e 0x57 0x69 0x6e 0x64 0x6f 0x77 0x22 0x2c 0x22 0x65 0x76 0x61 0x6c 0x4a 0x53 0x22 0x2c 0x5b 0x22 0x37 0x33 0x37 0x31 0x37 0x34 0x39 0x39 0x22 0x2c 0x5b 0x22 0x74 0x79 0x70 0x65 0x6f 0x66 0x20 0x55 0x6e 0x69 0x56 0x69 0x65 0x77 0x4a 0x53 0x42 0x72 0x69 0x64 0x67 0x65 0x20 0x21 0x3d 0x3d 0x20 0x27 0x75 0x6e 0x64 0x65 0x66 0x69 0x6e 0x65 0x64 0x27 0x20 0x26 0x26 0x20 0x55 0x6e 0x69 0x56 0x69 0x65 0x77 0x4a 0x53 0x42 0x72 0x69 0x64 0x67 0x65 0x2e 0x73 0x75 0x62 0x73 0x63 0x72 0x69 0x62 0x65 0x48 0x61 0x6e 0x64 0x6c 0x65 0x72 0x28 0x5c 0x22 0x76 0x64 0x53 0x79 0x6e 0x63 0x5c 0x22 0x2c 0x7b 0x5c 0x22 0x64 0x61 0x74 0x61 0x5c 0x22 0x3a 0x5b 0x5b 0x34 0x2c 0x5b 0x5c 0x22 0x2d 0x31 0x5c 0x22 0x2c 0x7b 0x5c 0x22 0x30 0x5c 0x22 0x3a 0x7b 0x5c 0x22 0x73 0x63 0x5c 0x22 0x3a 0x5c 0x22 0x70 0x61 0x67 0x65 0x20 0x70 0x72 0x69 0x76 0x61 0x63 0x79 0x2d 0x70 0x61 0x67 0x65 0x20 0x20 0x70 0x61 0x67 0x65 0x2d 0x69 0x6e 0x64 0x65 0x78 0x5c 0x22 0x2c 0x5c 0x22 0x63 0x5c 0x22 0x3a 0x5c 0  
A  java_vm_ext.cc:542]     in call to NewStringUTF  
A  java_vm_ext.cc:542]     from void com.taobao.weex.base.SystemMessageHandler.nativeRunWork(long)  
A  java_vm_ext.cc:542] "WeexJSBridgeThread" prio=5 tid=25 Runnable  
A  java_vm_ext.cc:542]   | group="main" sCount=0 dsCount=0 flags=0 obj=0x12ec0088 self=0xa0527c00  
A  java_vm_ext.cc:542]   | sysTid=15482 nice=0 cgrp=default sched=0/0 handle=0x929be970  
A  java_vm_ext.cc:542]   | state=R schedstat=( 1728658791 362012908 2880 ) utm=155 stm=17 core=3 HZ=100  
A  java_vm_ext.cc:542]   | stack=0x928bb000-0x928bd000 stackSize=1042KB  
A  java_vm_ext.cc:542]   | held mutexes= "mutator lock"(shared held)  
A  java_vm_ext.cc:542]   native: #00 pc 002da303  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+134), jvalue*)+320)  
A  java_vm_ext.cc:542]   native: #50 pc 0036a54f  /system/lib/libart.so (art::Thread::CreateCallback(void*)+866)  
A  java_vm_ext.cc:542]   native: #51 pc 00063475  /system/lib/libc.so (__pthread_start(void*)+22)  
A  java_vm_ext.cc:542]   native: #52 pc 0001de69  /system/lib/libc.so (__start_thread+24)  
A  java_vm_ext.cc:542]   at com.taobao.weex.base.SystemMessageHandler.nativeRunWork(Native method)  
A  java_vm_ext.cc:542]   at com.taobao.weex.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:104)  
A  java_vm_ext.cc:542]   at android.os.Handler.dispatchMessage(Handler.java:106)  
A  java_vm_ext.cc:542]   at android.os.Looper.loop(Looper.java:201)  
A  java_vm_ext.cc:542]   at android.os.HandlerThread.run(HandlerThread.java:65)
2023-03-31 17:25 负责人:无 分享
已邀请:

要回复问题请先登录注册