Android studio error - Cannot read property 'update' of undefined

☆樱花仙子☆ 提交于 2020-05-13 08:51:07

问题


Emulator error

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

回答1:


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.



来源:https://stackoverflow.com/questions/59298563/android-studio-error-cannot-read-property-update-of-undefined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!