Webview TypeError:无法读取属性';sdkVersion';在Nativescript中发出时的未定义值

Webview TypeError:无法读取属性';sdkVersion';在Nativescript中发出时的未定义值,webview,android-webview,nativescript,nativescript-vue,Webview,Android Webview,Nativescript,Nativescript Vue,我正在尝试实现Nativescript Webview接口。在我的例子中,在IOS模拟器上一切正常,但在Android上从本机应用程序向Webview发出emit/callJSFunction时出错 chromium: [WARNING:dns_config_service_posix.cc(342)] Failed to read DnsConfig. System.err: An uncaught Exception occurred on "main" thread.

我正在尝试实现Nativescript Webview接口。在我的例子中,在IOS模拟器上一切正常,但在Android上从本机应用程序向Webview发出emit/callJSFunction时出错

chromium: [WARNING:dns_config_service_posix.cc(342)] Failed to read DnsConfig.
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onTouch failed
System.err: TypeError: Cannot read property 'sdkVersion' of undefined
System.err: 
System.err: StackTrace:
System.err: WebViewInterface._executeJS(file: node_modules/nativescript-webview-interface/index.android.js:78:32)
System.err:     at push.../node_modules/nativescript-webview-interface/index-common.js.WebViewInterface.emit(file: node_modules/nativescript-webview-interface/index-common.js:153:9)
System.err:     at goToPage(file: app/components/Home.vue:145:0)
System.err:     at tap(file: app/components/Home.vue?499f:93:0)
System.err:     at invokeWithErrorHandling(file: node_modules/nativescript-vue/dist/index.js:1862:25)
System.err:     at invoker(file: node_modules/nativescript-vue/dist/index.js:2526:13)
System.err:     at _executeCallback(file: app/packages/core/ui/gestures/index.android.ts:414:20)

你解决了这个问题吗?没有得到任何解决方案,但我用其他方法解决了我的问题确保使用最新版本: