1***@163.com
1***@163.com
  • 发布:2017-12-15 16:00
  • 更新:2020-01-04 16:06
  • 阅读:2854

android离线打包后无法显示页面,出现白屏

分类:5+ SDK

之前是好好的,按照官方文档又添加了部分jar包后,打开app后页面就一直白屏
下面是错误信息:

12-15 15:07:00.956 703-703/? E/HardwareRenderer: An error has occurred while drawing:
java.lang.IllegalStateException: The display list is not valid.
at android.view.GLES20DisplayList.getNativeDisplayList(GLES20DisplayList.java:49)
at android.view.GLES20Canvas.drawDisplayList(GLES20Canvas.java:420)
at android.view.HardwareRenderer$GlRenderer.drawDisplayList(HardwareRenderer.java:1646)
at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1469)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2405)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2277)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1907)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1024)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5694)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:544)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5019)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
12-15 15:07:18.966 6348-6348/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:07:18.966 6348-6348/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:07:19.436 6384-6390/? E/jdwp: Failed writing handshake bytes: Broken pipe (-1 of 14)
12-15 15:07:20.206 6384-6420/? E/GTNormalIntentService: onReceiveClientId -> clientid = 014cb745e77d40fc8cfb4279bb467a1c
12-15 15:07:20.216 6384-6420/? E/GTNormalIntentService: onReceiveOnlineState -> online = true
12-15 15:07:27.296 6428-6428/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:07:27.296 6428-6428/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:07:28.156 6443-6443/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:07:28.156 6443-6443/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:07:28.346 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: fmgr no dp
12-15 15:07:28.576 6454-6454/io.dcloud.H5B9E6FD1 E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.statistics.StatisticsBootImpl
12-15 15:07:28.586 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.sina.weibo.sdk.auth.sso.SsoHandler', referenced from method io.dcloud.feature.oauth.sina.SinaOAuthService.a
12-15 15:07:28.596 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'io.dcloud.feature.oauth.sina.SinaOAuthService$a', referenced from method io.dcloud.feature.oauth.sina.SinaOAuthService.a
12-15 15:07:28.596 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.sina.weibo.sdk.auth.AuthInfo', referenced from method io.dcloud.feature.oauth.sina.SinaOAuthService.login
12-15 15:07:28.606 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: channel:io.dcloud.H5B9E6FD1;ver:1.9.9.39354;ssdk:false;max:3;trim:0;dg:false
12-15 15:07:28.616 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: Not found io.dcloud.H5B9E6FD1.R$id.iv_icon_splash_dcloud
12-15 15:07:28.616 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: Not found io.dcloud.H5B9E6FD1.R$id.tv_copyright_splash_dcloud
12-15 15:07:28.616 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: Not found io.dcloud.H5B9E6FD1.R$id.tv_loading_splash_dcloud
12-15 15:07:28.616 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: Not found io.dcloud.H5B9E6FD1.R$id.tv_name_splash_dcloud
12-15 15:07:28.616 6454-6454/io.dcloud.H5B9E6FD1 E/DCloud_LOG: Not found io.dcloud.H5B9E6FD1.R$drawable.dcloud_streamapp_icon_appdefault
12-15 15:07:28.746 6489-6495/? E/jdwp: Failed writing handshake bytes: Broken pipe (-1 of 14)
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.a
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.a
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.execute
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.onDestroy
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.onDestroy
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.startLocating
12-15 15:07:29.696 6454-6454/io.dcloud.H5B9E6FD1 E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClient', referenced from method io.dcloud.js.geolocation.amap.AMapGeoManager.startLocating
12-15 15:07:30.136 6454-6454/io.dcloud.H5B9E6FD1 E/Html5Plus-SplashClosed: 1513321650136
12-15 15:07:30.216 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=uploadervideo.html
12-15 15:07:30.276 6454-6454/io.dcloud.H5B9E6FD1 E/Html5Plus-SplashClosed: 1513321650276
12-15 15:07:30.276 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=index.html
12-15 15:07:30.346 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=release2.html
12-15 15:07:30.406 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=mycenter.html
12-15 15:07:31.086 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=pay.html
12-15 15:07:31.306 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=paymoney.html
12-15 15:07:31.376 6454-6454/io.dcloud.H5B9E6FD1 E/shutao: new -- JSNWindow=order.html
12-15 15:07:35.906 6454-6454/io.dcloud.H5B9E6FD1 E/Html5Plus-SplashClosed: 1513321655906
12-15 15:12:18.846 6582-6582/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:12:18.846 6582-6582/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:12:21.016 162-471/? E/BandwidthController: Updating quota globalAlert failed (No such file or directory)
12-15 15:17:18.826 6692-6692/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:17:18.826 6692-6692/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:17:59.936 851-6705/? E/ActivityThread: Failed to find provider info for com.google.android.wearable.settings
12-15 15:18:12.186 1377-1424/? E/PlayCommon: [68] com.google.android.play.a.h.a(500): Failed to connect to server: java.net.SocketTimeoutException: SSL handshake timed out
12-15 15:22:18.786 6738-6738/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:22:18.786 6738-6738/? E/android.os.Debug: failed to load memtrack module: -2
12-15 15:27:18.816 6765-6765/? E/memtrack: Couldn't load memtrack module (No such file or directory)
12-15 15:27:18.816 6765-6765/? E/android.os.Debug: failed to load memtrack module: -2

2017-12-15 16:00 负责人:无 分享
已邀请:
1***@163.com

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

没动代码,它自己又能运行了,觉着和模拟器当时的状态及电脑性能状态有关

1***@qq.com

1***@qq.com

android activity 设置启动模式即可

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