Android Studio错误-无法读取未定义的属性“更新" [英] Android studio error - Cannot read property 'update' of undefined

查看:296
本文介绍了Android Studio错误-无法读取未定义的属性“更新"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仿真器错误

emulator: INFO: QtLogger.cpp:68: Critical: Uncaught TypeError: Cannot read property 'update' of undefined (qrc:/html/js/location-mock-web-channel.js:130, (null))

推荐答案

如果您尝试将应用程序构建为模拟的Android设备,则可能需要对其进行冷启动.转到工具"->"AVD管理器",然后在您要使用的虚拟设备上,单击最右侧的下拉箭头,然后选择立即冷启动".

If you're trying to build your app to an emulated Android device, it might need to be cold-booted. Go to Tools -> AVD Manager, and on the Virtual Device you're trying to use, click the drop-down arrow to the far right and select "Cold Boot Now".

请稍等片刻以启动仿真器,如果这样做没有错误,请尝试再次构建您的应用程序,并查看它现在是否可以正确加载.

Give the emulator a few moments to start, and if it does so without error, try building your app again and see if it now loads properly.

这篇关于Android Studio错误-无法读取未定义的属性“更新"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆