The Android emulator keeps loading but showing a blank screen, also after refreshing the page or rebuilding the env.
When I open the developer console there’s a whole bunch of errors. One is “render undefinedxundefined”. I figured out this should probably be showing the resolution, and traced it back to this error:
emulator_status.js:72 Uncaught TypeError: Cannot read properties of null (reading 'getHardwareconfig')
at emulator_status.js:72:32
at emulator_web_client.js:73:23
at Array.<anonymous> (index.js:66:121)
at Ve (index.js:59:124)
at Ce.<anonymous> (index.js:55:68)
at Lt (index.js:35:182)
at zt (index.js:34:614)
at Re (index.js:47:180)
at o.W (index.js:46:252)
at o.R (index.js:46:231)
Referencing this part of the IDX IDE code:
_this.emulator.getStatus(request, {}, function (err, response) {
var hwConfig = {};
var entryList = response.getHardwareconfig().getEntryList();
for (var i = 0; i < entryList.length; i++) {
var key = entryList[i].getKey();
var val = entryList[i].getValue();
hwConfig[key] = val;
}
Is this an error in the IDX source code, or can I solve it by making changes to my project?
There’s more previous errors, but these seem more abstract:
loader.js:3
GET https://idx-wishapp-1739809489950.cluster-23wp6v3w4jhzmwncf7crloq3kw.cloudworkstations.dev/oss-cf213cd39a3bfb26ce45d2c85949fee44b9d03d9/static/out/vsda.js net::ERR_ABORTED 404 (Not Found)
load @ loader.js:3
etc...
(anonymous) @ workbench.web.main.js:147
(anonymous) @ workbench.web.main.js:2899Understand this errorAI
idx-xxxx-xxxx.cluster-xxx.cloudworkstations.dev/oss-cf213cd39a3bfb26ce45d2c85949fee44b9d03d9/static/out/vsda.js:1
Failed to load resource: the server responded with a status of 404 (Not Found)
https://xxxx-idx-xxx-xxxx.cluster-xxxxxx.cloudworkstations.dev/
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
(whole bunch)
index.js:8
POST https://xxxx-idx-xxxxx-xxxxx.cluster-xxxxxx.cloudworkstations.dev/android.emulation.control.EmulatorController/getStatus 405 (Method Not Allowed)
etc