代码还未编译就报错
[渲染层错误] Framework TypeError: LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.7.12)
[渲染层错误] TypeError: SystemError (webviewSDKScriptError)
LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.7.12)
基本我的所有项目都报这个问题,然后使用wx.navigateTo({
url: 'plugin://chooseLocation/index?key=' + key + '&referer=' + referer + '&location=' + location + '&category=' + category
});
方法打开腾讯地图白屏并报错
[渲染层错误] Framework TypeError: LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.7.12)
[渲染层错误] TypeError: SystemError (webviewSDKScriptError)
LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 3.7.12)
TypeError: Cannot read property 'version' of undefined
at Jr (VM54 WASubContext.js:1)
at Kn (VM54 WASubContext.js:1)
at Jn (VM54 WASubContext.js:1)
at Jn (VM54 WASubContext.js:1)
at Jn (VM54 WASubContext.js:1)
at bo.createInstance (VM54 WASubContext.js:1)
at b._advancedCreate (VM54 WASubContext.js:1)
at Function.b.createWithGenerics (VM54 WASubContext.js:1)
at Bi (VM54 WASubContext.js:1)
at Module.rs (VM54 WASubContext.js:1)(env: Windows,mp,1.06.2503290; lib: 3.7.12)
routeDone with a webviewId 4 that is not the current page(env: Windows,mp,1.06.2503290; lib: 3.7.12)
版本库升级降级没有反应
补充一下:
1.版本号是1.06.2503290
2.真机没问题
split 的问题可以先使用 stable 版本工具,下一版 nightly 会修复这个问题
我也碰到一样的问题了 真机没问题开发工具报
[Render layer error] Framework TypeError: LifeCycle.start fail: Cannot read property 'split' of undefined(env: Windows,mp,1.06.2503290; lib: 2.33.0)
补充:回退回老的版本就好了, 新版开发工具的问题