9***@qq.com
9***@qq.com
  • 发布:2017-08-11 13:06
  • 更新:2017-10-06 11:13
  • 阅读:2186

首次集成到Android studio的工程运行起来就是白屏

分类:5+ SDK

首次集成到Android studio的工程运行起来就是白屏,控制台报错如下:
08-11 12:57:11.988 17975-17975/com.budingxiaoyuan.mm W/System.err: java.lang.NullPointerException: Attempt to invoke interface method 'void io.dcloud.common.DHInterface.IApp.setIAppStatusListener(io.dcloud.common.DHInterface.IApp$IAppStatusListener)' on a null object reference**
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at com.budingxiaoyuan.mm.WebappModeListener.onCoreInitEnd(SDK_WebApp.java:184)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at io.dcloud.common.b.a.a(Core.java:159)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at io.dcloud.common.b.b.a(PandoraEntryProxy.java:51)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at io.dcloud.EntryProxy.onCreate(EntryProxy.java:96)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at com.budingxiaoyuan.mm.SDK_WebApp.onCreate(SDK_WebApp.java:47)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.Activity.performCreate(Activity.java:6301)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1121)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2526)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2633)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.ActivityThread.access$900(ActivityThread.java:169)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1419)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.os.Looper.loop(Looper.java:171)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5681)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at java.lang.reflect.Method.invoke(Native Method)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
08-11 12:57:11.989 17975-17975/com.budingxiaoyuan.mm W/System.err: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:144)

2017-08-11 13:06 负责人:无 分享
已邀请:
Johnson

Johnson

同问,大神你解决没?

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