1***@qq.com
1***@qq.com
  • 发布:2021-03-16 11:19
  • 更新:2021-03-16 12:03
  • 阅读:2822

【报Bug】小米11(android 11)app页面加载不出来,其他低版本android机没有任何问题

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: windows 7

HBuilderX类型: 正式

HBuilderX版本号: 3.0.7

手机系统: Android

手机系统版本号: Android 11

手机厂商: 小米

手机机型: MI 11

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

打包app运行

预期结果:

正常显示页面

实际结果:

除了底部tab,其余都未显示

bug描述:

相同app,其他手机可以正常运行,但是小米11运行白屏,只有底部的tab看得到,其他都是空的

2021-03-16 11:19 负责人:无 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

HX默认基座运行有问题吗

  • 1***@qq.com (作者)

    直接在hbuildX运行是可以的

    2021-03-16 11:28

  • DCloud_Android_ST

    回复 1***@qq.com: 云打包APPID发下

    2021-03-16 11:30

  • 1***@qq.com (作者)

    回复 DCloud_Android_ST: UNIEA63763

    2021-03-16 11:35

  • 1***@qq.com (作者)

    回复 DCloud_Android_ST: 云打包以后的也是可以运行的,拷贝到android studio中打包成app以后就出问题了

    2021-03-16 11:43

  • DCloud_Android_ST

    回复 1***@qq.com: 离线打包吗 如果是离线打包应该是项目配置问题。SDK中应该是有示例demo,在DEMO你测试下

    2021-03-16 14:36

  • 1***@qq.com (作者)

    回复 DCloud_Android_ST: 哪些配置会影响呢

    2021-03-16 17:28

  • DCloud_Android_ST

    按我说的测试demo是否正常。如果正常对配配置。你这问题不是几句话就能弄清楚你的原因

    2021-03-16 17:33

  • 1***@qq.com (作者)

    回复 DCloud_Android_ST: demo都不需要测试,因为这个app很多手机都可以用,目前只是小米11这个用不了,所以想了解清楚这个是不是跟android版本有关系,是否是因为我的sdk不支持高android高版本

    2021-03-16 19:43

  • DCloud_Android_ST

    回复 1***@qq.com: 测不测你自己决定 我们的SDK支持android11

    2021-03-16 19:51

  • 1***@qq.com (作者)

    回复 DCloud_Android_ST:你这客服非常优秀

    2021-03-16 20:04

  • 查看密码

    我们的APP在安卓11上也出现了这样的问题,appid: UNI7E2B0B1

    2021-03-17 09:56

  • 1***@qq.com (作者)

    回复 查看密码: 遇到问题的肯定不止这些人

    2021-03-17 10:51

  • DCloud_Android_ST

    回复 查看密码:回复 查看密码: 你也是离线吧

    2021-03-17 11:18

  • DCloud_Android_ST

    检查SDK拷贝资源时部分资源有没有正确拷贝到你的项目中,

    检查targetSdkVersion 取值范围26~30

    检查minSdkVersion 取值范围 19~22

    检查androidX版本 选择1.0.0版本

    2021-03-17 11:18

  • 查看密码

    回复 DCloud_Android_ST:


    目前已经解决了,升级依赖包,


    uniapp-release.aar --》 uniapp-v8-release.aar

    2021-03-17 14:56

1***@qq.com

1***@qq.com (作者)

D/ViewContentFactory: initViewContentFetcherClass
I/ContentCatcher: ViewContentFetcher : ViewContentFetcher
D/ViewContentFactory: createInterceptor took 0ms
I/Timeline: Timeline: Activity_launch_request time:23748118
E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
E/WeexCore: wx_bridge.cpp:1307,class Name is com/taobao/weex/bridge/WXBridge
WXBridge_jni.h:1445,Java_WXBridge_reset_clazz class Name is com/taobao/weex/bridge/WXBridge
W/weex: app AvailMemory ---->>>3438
E/Html5Plus-onCreate: 1615867334007
D/WebAppActivity: onCreate
D/ViewContentFactory: initViewContentFetcherClass
I/ContentCatcher: ViewContentFetcher : ViewContentFetcher
D/ViewContentFactory: createInterceptor took 0ms
E/WXParams: setCrashFilePath: /data/user/0/com.bskj.baomingyi/app_crash
E/weex: getUseSingleProcess is running false
E/WeexCore: params_utils.cpp:198,g_use_single_process is false
E/weex: getReleaseMap:true
E/weex: getLibJscPath is running
E/WeexCore: params_utils.cpp:242,gjscSoPath is
E/weex: getLibJssPath is running /data/app/~~U
--lXMqds1R7xoUV_5f6A==/com.bskj.baomingyi-3tQH2Hv06IyQLWQDPR-kGQ==/lib/arm/libweexjss.so
E/WeexCore: params_utils.cpp:255,gjssSoPath is /data/app/~~U--lXMqds1R7xoUV_5f6A==/com.bskj.baomingyi-3tQH2Hv06IyQLWQDPR-kGQ==/lib/arm/libweexjss.so
E/WXParams: getCrashFilePath:/data/user/0/com.bskj.baomingyi/app_crash
E/WeexCore: params_utils.cpp:267,g_crashFilePath is /data/user/0/com.bskj.baomingyi/app_crash
E/weex: getLibIcuPath is running /apex/com.android.i18n/etc/icu/icudt66l.dat
E/WeexCore: params_utils.cpp:280,gjssIcuPath is /apex/com.android.i18n/etc/icu/icudt66l.dat
E/weex: getLibJsbPath is running /data/data/com.bskj.baomingyi/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so
getLibLdPath is running /data/app/~~U
--lXMqds1R7xoUV5f6A==/com.bskj.baomingyi-3tQH2Hv06IyQLWQDPR-kGQ==/lib/arm:/data/app/~~U--lXMqds1R7xoUV_5f6A==/com.bskj.baomingyi-3tQH2Hv06IyQLWQDPR-kGQ==/base.apk!/lib/armeabi-v7a
E/WeexCore: multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init
weex_js_connection.cpp:141,WeexJSConnection g_crashFileName: /data/user/0/com.bskj.baomingyi/app_crash/crash_dump.log
E/WeexCore: weex_js_connection.cpp:261,startupPie :1
D/download_manager: BaseActivity onCreate
D/.bskj.baomingy: onRuntimePreCreate appid=Main_App
W/System: A resource failed to call close.
I/chatty: uid=10336(com.bskj.baomingyi) FinalizerDaemon identical 1 line
W/System: A resource failed to call close.
E/.bskj.baomingy: Invalid ID 0x00000000.
D/Main_Path: use defaultSplash
D/WebAppActivity: checkAutoHide false
E/Html5Plus-onResume: 1615867334203
W/Looper: PerfMonitor looperActivity : package=com.bskj.baomingyi/io.dcloud.PandoraEntryActivity time=0ms latency=478ms running=0ms procState=-1 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=3 (msgIndex=1 wall=55ms seq=830 late=5ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) (msgIndex=3 wall=426ms seq=832 late=53ms h=android.app.ActivityThread$H w=159)
W/.bskj.baomingy: Accessing hidden method Lcom/android/internal/R$dimen;-><init>()V (greylist-max-q, reflection, denied)
E/PushManager: call - > initialize, parameter [userServiceName] is null use default PushService, but didn't find class "com.igexin.sdk.PushService", please check your AndroidManifest
E/PushManager: call - > registerPushIntentService, parameter [userIntentService] is set, but didn't find class "io.dcloud.feature.apsGt.GTNormalIntentService", please check your AndroidManifest
W/Looper: PerfMonitor doFrame : time=95ms vsyncFrame=585923 latency=418ms procState=-1 historyMsgCount=4 (msgIndex=1 wall=426ms seq=832 late=53ms h=android.app.ActivityThread$H w=159) (msgIndex=3 wall=412ms seq=834 late=185ms h=android.os.Handler c=io.dcloud.b$1)
I/ylyl: AppMGr START_APP UNIEA63763
I/ylyl: startOneApp UNIEA63763
W/.bskj.baomingy: Accessing hidden method Lcom/android/internal/R$styleable;-><init>()V (greylist-max-q, reflection, denied)
W/System: A resource failed to call close.
D/EgretLoader: EgretLoader(Context context)
D/EgretLoader: The context is not activity
I/Choreographer: Skipped 36 frames! The application may be doing too much work on its main thread.
W/Looper: PerfMonitor doFrame : time=268ms vsyncFrame=585927 latency=609ms procState=-1 historyMsgCount=1 (msgIndex=1 wall=611ms seq=847 late=27ms h=io.dcloud.common.adapter.util.MessageHandler$1 w=0)
I/OpenGLRenderer: Davey! duration=911ms; Flags=1, IntendedVsync=23749225743608, Vsync=23749825743584, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=23749834545411, AnimationStart=23749834546661, PerformTraversalsStart=23749835471870, DrawStart=23750086161661, SyncQueued=23750101791661, SyncStart=23750102006036, IssueDrawCommandsStart=23750102068640, SwapBuffers=23750132533224, FrameCompleted=23750137946349, DequeueBufferDuration=1120156, QueueBufferDuration=495156, GpuCompleted=0,
W/Looper: PerfMonitor doFrame : time=24ms vsyncFrame=585962 latency=371ms procState=-1 historyMsgCount=19 (msgIndex=1 wall=268ms seq=848 late=609ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
E/WeexCore: weex_js_connection.cpp:141,WeexJSConnection g_crashFileName: /data/user/0/com.bskj.baomingyi/app_crash/crash_dump.log
E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: weex_js_connection.cpp:261,startupPie :1
E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
E/WeexCore: script_bridge_in_multi_process.cpp:1025,ScriptBridgeInMultiProcess DELETE
E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null
E/weex: [WXBridgeManager] invokeInitFramework ExecuteJavaScript fail
E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
[WXBridgeManager] invoke execJSService: framework.js uninitialized.
E/Html5Plus-SplashClosed: 1615867345554
E/Main_Path: closeSplashScreen0 appid=UNIEA63763;true;closeSplashDid=false

  • 查看密码

    目前已经解决了,升级依赖包,


    uniapp-release.aar --》 uniapp-v8-release.aar

    2021-03-17 14:56

  • 1***@qq.com (作者)

    回复 查看密码: 我也试试

    2021-03-17 16:13

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