问题
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