收藏
回答

工具报错,无法进行真机调试, 'getGlobalWebviewIds' of undefined?

[wxapplib]] FrameworkError read mock wxConfig.appLaunchInfo fail: wx is not defined

ReferenceError: read mock wxConfig.appLaunchInfo fail: wx is not defined

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:109513)

    at Object.get [as appLaunchInfo] (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:107041)

    at r.assign (<anonymous>)

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:3:3303)

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:3:6000)

    at eval (<anonymous>)

    at Object.Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937)

    at http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18943

    at Ce (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:20624)

    at We (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:26311)

eval

runtime.js:1 ReferenceError: App is not defined

    at eval (weapp:///app.js:5)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///app.js:64)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: getApp is not defined

    at eval (weapp:///pages/index/index.js:147)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/index/index.js:1015)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: Page is not defined

    at eval (weapp:///pages/calendar/calendar.js:7)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/calendar/calendar.js:373)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: Page is not defined

    at eval (weapp:///pages/alarm/alarm.js:5)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/alarm/alarm.js:59)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: Page is not defined

    at eval (weapp:///pages/weatherday15/weatherday15.js:83)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/weatherday15/weatherday15.js:188)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: Page is not defined

    at eval (weapp:///pages/citySeacher/citySeacher.js:5)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/citySeacher/citySeacher.js:253)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: getApp is not defined

    at eval (weapp:///pages/aqi/aqi.js:5)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/aqi/aqi.js:255)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)

ye @ runtime.js:1

runtime.js:1 ReferenceError: Page is not defined

    at eval (weapp:///pages/rain/rain.js:65)

    at C (eval at Ce.t.call.document (runtime.js:1), <anonymous>:3:5787)

    at eval (weapp:///pages/rain/rain.js:212)

    at eval (<anonymous>)

    at ye (runtime.js:1)

    at runtime.js:1

    at ve (runtime.js:1)

    at Ce (runtime.js:1)

    at We (runtime.js:1)

    at WebSocket.Ge.ze.onmessage (runtime.js:1)


VM13:2 SystemError (appServiceSDKScriptError)

Cannot read property 'getGlobalWebviewIds' of undefined

TypeError: Cannot read property 'getGlobalWebviewIds' of undefined

    at Object.getWebviewIds (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1177977)

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:2189095)

    at Nt.eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1831746)

    at Nt.P.Nt.emit (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1161609)

    at Object.emit (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1166655)

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1167702)

    at eval (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:1157985)

    at o.emit (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:117198)

    at i.emit (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:116817)

    at Object.subscribeHandler (eval at Ce.t.call.document (http://127.0.0.1:32936/remote-debug/runtime.js?devtools_ignore=true:1:18937), <anonymous>:2:120300)

回答关注问题邀请回答
收藏

2 个回答

  • Demons
    Demons
    2023-06-14

    给真机推2.32.1,然后再真机调试1.0

    2023-06-14
    有用
    回复 1
    • Amy_LLJ
      Amy_LLJ
      2023-06-15
      2.32.2.android,不行
      2023-06-15
      回复
  • 田震宇
    田震宇
    2023-06-14

    基础库 2.32.2

    开发工具 win10 1.06版本

    真机调试 1.0

    

    2023-06-14
    有用
    回复 1
    • 田震宇
      田震宇
      2023-06-14
      真机调试2.0测试了可以,但是没有console输出了,根本就不能调试
      2023-06-14
      回复
登录 后发表内容