Hi - I recently updated my ionic/capacitor/angular to 8/7/18
I am now trying to get this app to run on the android emulator - but it shows splash screen and then just the base index.html (none of my UI)- it runs the code fine though; I get all the logs come through to the log in android studio, and the chrome inspect.
I have a newer app I created on a recent Ionic from scratch (maybe 6 months ago). This one seems to run fine on the same emulator.
The failing one gives me this console error many times; (this is the start of the log, and then it has that ācannot add property [0]ā repeated many times, before my code executes correctly.)
onscript loading complete
main.2637536ae19e9aed.js:1 routing module
map:817 TypeError: Cannot add property 0, object is not extensible
at Array.push ()
at HTMLElement.Xt (main.2637536ae19e9aed.js:1)
at new ui (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at Jc (main.2637536ae19e9aed.js:1)
at oy (main.2637536ae19e9aed.js:1)
at xu (main.2637536ae19e9aed.js:1)
at Object.Ih (main.2637536ae19e9aed.js:1)
at template (main.2637536ae19e9aed.js:1)
cap.handleError @ map:817
cap.handleWindowError @ map:878
createElement @ main.2637536ae19e9aed.js:1
createElement @ main.2637536ae19e9aed.js:1
Jc @ main.2637536ae19e9aed.js:1
oy @ main.2637536ae19e9aed.js:1
xu @ main.2637536ae19e9aed.js:1
Ih @ main.2637536ae19e9aed.js:1
template @ main.2637536ae19e9aed.js:1
Om @ main.2637536ae19e9aed.js:1
bf @ main.2637536ae19e9aed.js:1
aD @ main.2637536ae19e9aed.js:1
cD @ main.2637536ae19e9aed.js:1
bf @ main.2637536ae19e9aed.js:1
create @ main.2637536ae19e9aed.js:1
bootstrap @ main.2637536ae19e9aed.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
L1 @ main.2637536ae19e9aed.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
invoke @ polyfills.d462ffd02349dc0b.js:1
onInvoke @ main.2637536ae19e9aed.js:1
invoke @ polyfills.d462ffd02349dc0b.js:1
run @ polyfills.d462ffd02349dc0b.js:1
(anonymous) @ polyfills.d462ffd02349dc0b.js:1
invokeTask @ polyfills.d462ffd02349dc0b.js:1
onInvokeTask @ main.2637536ae19e9aed.js:1
invokeTask @ polyfills.d462ffd02349dc0b.js:1
runTask @ polyfills.d462ffd02349dc0b.js:1
be @ polyfills.d462ffd02349dc0b.js:1
error (async)
initNativeBridge @ map:885
initBridge @ map:1015
(anonymous) @ map:1017
(anonymous) @ map:1033
main.2637536ae19e9aed.js:1 Uncaught TypeError: Cannot add property 0, object is not extensible
at Array.push ()
at HTMLElement.Xt (main.2637536ae19e9aed.js:1)
at new ui (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at Jc (main.2637536ae19e9aed.js:1)
at oy (main.2637536ae19e9aed.js:1)
at xu (main.2637536ae19e9aed.js:1)
at Object.Ih (main.2637536ae19e9aed.js:1)
at template (main.2637536ae19e9aed.js:1)
Xt @ main.2637536ae19e9aed.js:1
ui @ main.2637536ae19e9aed.js:1
createElement @ main.2637536ae19e9aed.js:1
createElement @ main.2637536ae19e9aed.js:1
Jc @ main.2637536ae19e9aed.js:1
oy @ main.2637536ae19e9aed.js:1
xu @ main.2637536ae19e9aed.js:1
Ih @ main.2637536ae19e9aed.js:1
template @ main.2637536ae19e9aed.js:1
Om @ main.2637536ae19e9aed.js:1
bf @ main.2637536ae19e9aed.js:1
aD @ main.2637536ae19e9aed.js:1
cD @ main.2637536ae19e9aed.js:1
bf @ main.2637536ae19e9aed.js:1
create @ main.2637536ae19e9aed.js:1
bootstrap @ main.2637536ae19e9aed.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
L1 @ main.2637536ae19e9aed.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
invoke @ polyfills.d462ffd02349dc0b.js:1
onInvoke @ main.2637536ae19e9aed.js:1
invoke @ polyfills.d462ffd02349dc0b.js:1
run @ polyfills.d462ffd02349dc0b.js:1
(anonymous) @ polyfills.d462ffd02349dc0b.js:1
invokeTask @ polyfills.d462ffd02349dc0b.js:1
onInvokeTask @ main.2637536ae19e9aed.js:1
invokeTask @ polyfills.d462ffd02349dc0b.js:1
runTask @ polyfills.d462ffd02349dc0b.js:1
be @ polyfills.d462ffd02349dc0b.js:1
Promise.then (async)
le @ polyfills.d462ffd02349dc0b.js:1
Ee @ polyfills.d462ffd02349dc0b.js:1
scheduleTask @ polyfills.d462ffd02349dc0b.js:1
scheduleTask @ polyfills.d462ffd02349dc0b.js:1
scheduleMicroTask @ polyfills.d462ffd02349dc0b.js:1
a @ polyfills.d462ffd02349dc0b.js:1
then @ polyfills.d462ffd02349dc0b.js:1
oe.setDriver @ main.2637536ae19e9aed.js:1
oe @ main.2637536ae19e9aed.js:1
Ht.exports.4.3 @ main.2637536ae19e9aed.js:1
X @ main.2637536ae19e9aed.js:1
s @ main.2637536ae19e9aed.js:1
119 @ main.2637536ae19e9aed.js:1
a @ runtime.0148ec905acf0d77.js:1
369 @ main.2637536ae19e9aed.js:1
a @ runtime.0148ec905acf0d77.js:1
6330 @ main.2637536ae19e9aed.js:1
a @ runtime.0148ec905acf0d77.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
c @ runtime.0148ec905acf0d77.js:1
(anonymous) @ main.2637536ae19e9aed.js:1
main.2637536ae19e9aed.js:1 Ionic Native: deviceready event fired after 139 ms
68.d2e005abef1b7c03.js:1 Fields service Map ready
68.d2e005abef1b7c03.js:1 >>>>>>>>>>> CONSTRUCTOR START
68.d2e005abef1b7c03.js:1 TypeError: Cannot add property 0, object is not extensible
at Array.push ()
at HTMLElement.Xt (main.2637536ae19e9aed.js:1)
at new ui (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at ye.createElement (main.2637536ae19e9aed.js:1)
at Jc (main.2637536ae19e9aed.js:1)
at oy (main.2637536ae19e9aed.js:1)
at xu (main.2637536ae19e9aed.js:1)
at template (68.d2e005abef1b7c03.js:1)
at Om (main.2637536ae19e9aed.js:1)
Can anyone see what here in the logs might have cause this?
2025-06-26 12:51:00.698 4133-4133 FirebaseApp io.ionic.i4m.omniascout2 I Device unlocked: initializing all Firebase APIs for app [DEFAULT]
2025-06-26 12:51:00.728 4133-4133 FirebaseInitProvider io.ionic.i4m.omniascout2 I FirebaseApp initialization successful
2025-06-26 12:51:00.767 4133-4168 libEGL io.ionic.i4m.omniascout2 D loaded /vendor/lib/egl/libEGL_emulation.so
2025-06-26 12:51:00.770 4133-4168 libEGL io.ionic.i4m.omniascout2 D loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2025-06-26 12:51:00.773 4133-4168 libEGL io.ionic.i4m.omniascout2 D loaded /vendor/lib/egl/libGLESv2_emulation.so
2025-06-26 12:51:00.824 4133-4133 AppCompatDelegate io.ionic.i4m.omniascout2 D Checking for metadata for AppLocalesMetadataHolderService : Service not found
2025-06-26 12:51:00.916 4133-4133 i4m.omniascout io.ionic.i4m.omniascout2 W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2025-06-26 12:51:00.928 4133-4133 WebViewFactory io.ionic.i4m.omniascout2 I Loading com.google.android.webview version 83.0.4103.106 (code 410410681)
2025-06-26 12:51:00.961 4133-4133 cr_LibraryLoader io.ionic.i4m.omniascout2 I Loaded native library version number ā83.0.4103.106ā
2025-06-26 12:51:00.961 4133-4133 cr_CachingUmaRecorder io.ionic.i4m.omniascout2 I Flushed 3 samples from 3 histograms.
2025-06-26 12:51:00.963 4133-4133 TetheringManager io.ionic.i4m.omniascout2 I registerTetheringEventCallback:io.ionic.i4m.omniascout2
2025-06-26 12:51:01.026 4133-4175 GooglePlayServicesUtil io.ionic.i4m.omniascout2 W Google Play Store is missing.
2025-06-26 12:51:01.029 4133-4175 GooglePlayServicesUtil io.ionic.i4m.omniascout2 W Google Play Store is missing.
---------------------------- PROCESS STARTED (4176) for package io.ionic.i4m.omniascout2 ----------------------------
2025-06-26 12:51:01.051 4133-4175 GooglePlayServicesUtil io.ionic.i4m.omniascout2 W Google Play Store is missing.
2025-06-26 12:51:01.053 4133-4175 GooglePlayServicesUtil io.ionic.i4m.omniascout2 W Google Play Store is missing.
2025-06-26 12:51:01.054 4133-4208 cr_PlatformSer-Internal io.ionic.i4m.omniascout2 E UsageReporting query failed
2025-06-26 12:51:01.056 4176-4176 NetworkSecurityConfig io.ionic.i4m.omniascout2 D No Network Security Config specified, using platform default
2025-06-26 12:51:01.056 4176-4176 NetworkSecurityConfig io.ionic.i4m.omniascout2 D No Network Security Config specified, using platform default
2025-06-26 12:51:01.058 4176-4176 cr_ChildProcessService io.ionic.i4m.omniascout2 I Creating new ChildProcessService pid=4176
2025-06-26 12:51:01.115 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Starting BridgeActivity
2025-06-26 12:51:01.143 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: CapacitorCookies
2025-06-26 12:51:01.147 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: WebView
2025-06-26 12:51:01.152 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: CapacitorHttp
2025-06-26 12:51:01.154 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: SafeArea
2025-06-26 12:51:01.155 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: OAuth2Client
2025-06-26 12:51:01.157 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: KeepAwake
2025-06-26 12:51:01.159 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: App
2025-06-26 12:51:01.160 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: AppLauncher
2025-06-26 12:51:01.161 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Camera
2025-06-26 12:51:01.165 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Device
2025-06-26 12:51:01.166 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Dialog
2025-06-26 12:51:01.167 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Filesystem
2025-06-26 12:51:01.170 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Geolocation
2025-06-26 12:51:01.211 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Haptics
2025-06-26 12:51:01.213 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: InAppBrowser
2025-06-26 12:51:01.213 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Keyboard
2025-06-26 12:51:01.216 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Network
2025-06-26 12:51:01.217 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Preferences
2025-06-26 12:51:01.220 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: PushNotifications
2025-06-26 12:51:01.223 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: ScreenOrientation
2025-06-26 12:51:01.224 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: SplashScreen
2025-06-26 12:51:01.229 4133-4214 GooglePlayServicesUtil io.ionic.i4m.omniascout2 W io.ionic.i4m.omniascout2 requires the Google Play Store, but it is missing.
2025-06-26 12:51:01.231 4133-4214 GoogleApiManager io.ionic.i4m.omniascout2 W The service for com.google.android.gms.internal.location.zzdz is not available: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}
2025-06-26 12:51:01.240 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: StatusBar
2025-06-26 12:51:01.247 4133-4133 Capacitor/ā¦sBarPlugin io.ionic.i4m.omniascout2 V Notifying listeners for event statusBarOverlayChanged
2025-06-26 12:51:01.247 4133-4133 Capacitor/ā¦sBarPlugin io.ionic.i4m.omniascout2 D No listeners found for event statusBarOverlayChanged
2025-06-26 12:51:01.248 4133-4133 Capacitor/ā¦sBarPlugin io.ionic.i4m.omniascout2 V Notifying listeners for event statusBarOverlayChanged
2025-06-26 12:51:01.248 4133-4133 Capacitor/ā¦sBarPlugin io.ionic.i4m.omniascout2 D No listeners found for event statusBarOverlayChanged
2025-06-26 12:51:01.249 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: TextZoom
2025-06-26 12:51:01.251 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: Toast
2025-06-26 12:51:01.252 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: NavigationBar
2025-06-26 12:51:01.253 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Registering plugin instance: SafeArea
2025-06-26 12:51:01.283 4133-4133 Capacitor io.ionic.i4m.omniascout2 D Loading app at https://localhost
2025-06-26 12:51:01.291 4133-4197 i4m.omniascout io.ionic.i4m.omniascout2 W Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
2025-06-26 12:51:01.302 4133-4197 cr_media io.ionic.i4m.omniascout2 W Requires BLUETOOTH permission
2025-06-26 12:51:01.326 4133-4217 HostConnection io.ionic.i4m.omniascout2 D HostConnection::get() New Host Connection established 0xf75a8790, tid 4217
2025-06-26 12:51:01.329 4133-4217 HostConnection io.ionic.i4m.omniascout2 D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2025-06-26 12:51:01.337 4133-4133 Capacitor io.ionic.i4m.omniascout2 D App started
2025-06-26 12:51:01.338 4133-4133 Capacitor/AppPlugin io.ionic.i4m.omniascout2 D Firing change: true
2025-06-26 12:51:01.339 4133-4133 Capacitor/AppPlugin io.ionic.i4m.omniascout2 V Notifying listeners for event appStateChange
2025-06-26 12:51:01.339 4133-4133 Capacitor/AppPlugin io.ionic.i4m.omniascout2 D No listeners found for event appStateChange
2025-06-26 12:51:01.343 4133-4133 Capacitor io.ionic.i4m.omniascout2 D App resumed
2025-06-26 12:51:01.345 4176-4211 cr_LibraryLoader io.ionic.i4m.omniascout2 I Loaded native library version number ā83.0.4103.106ā
2025-06-26 12:51:01.345 4176-4211 cr_CachingUmaRecorder io.ionic.i4m.omniascout2 I Flushed 1 samples from 1 histograms.
2025-06-26 12:51:01.360 4133-4219 Capacitor/NetworkPlugin io.ionic.i4m.omniascout2 V Notifying listeners for event networkStatusChange
2025-06-26 12:51:01.360 4133-4219 Capacitor/NetworkPlugin io.ionic.i4m.omniascout2 D No listeners found for event networkStatusChange
2025-06-26 12:51:01.362 4133-4217 EGL_emulation io.ionic.i4m.omniascout2 D eglCreateContext: 0xf75a91a0: maj 3 min 0 rcv 3
2025-06-26 12:51:01.364 4133-4217 EGL_emulation io.ionic.i4m.omniascout2 D eglMakeCurrent: 0xf75a91a0: ver 3 0 (tinfo 0xc72c7970) (first time)
2025-06-26 12:51:01.365 4133-4196 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/
2025-06-26 12:51:01.383 4133-4133 class comā¦AreaPlugin io.ionic.i4m.omniascout2 I WindowInsets is not available.
2025-06-26 12:51:01.383 4133-4133 Capacitor/ā¦AreaPlugin io.ionic.i4m.omniascout2 V Notifying listeners for event safeAreaChanged
2025-06-26 12:51:01.383 4133-4133 Capacitor/ā¦AreaPlugin io.ionic.i4m.omniascout2 D No listeners found for event safeAreaChanged
2025-06-26 12:51:01.384 4133-4133 Choreographer io.ionic.i4m.omniascout2 I Skipped 37 frames! The application may be doing too much work on its main thread.
2025-06-26 12:51:01.406 4133-4166 HostConnection io.ionic.i4m.omniascout2 D HostConnection::get() New Host Connection established 0xf75a7ed0, tid 4166
2025-06-26 12:51:01.406 4133-4217 VideoCapabilities io.ionic.i4m.omniascout2 I Unsupported profile 4 for video/mp4v-es
2025-06-26 12:51:01.413 4133-4217 cr_MediaCodecUtil io.ionic.i4m.omniascout2 W HW encoder for video/avc is not available on this device.
2025-06-26 12:51:01.416 4133-4217 EGL_emulation io.ionic.i4m.omniascout2 D eglCreateContext: 0xf75aaa90: maj 3 min 0 rcv 3
2025-06-26 12:51:01.418 4133-4166 HostConnection io.ionic.i4m.omniascout2 D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2025-06-26 12:51:01.419 4133-4166 OpenGLRenderer io.ionic.i4m.omniascout2 W Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying withoutā¦
2025-06-26 12:51:01.423 4133-4133 cr_PlatformSer-Internal io.ionic.i4m.omniascout2 E Unable to determine Safe Browsing user opt-in preference
2025-06-26 12:51:01.425 4133-4166 EGL_emulation io.ionic.i4m.omniascout2 D eglCreateContext: 0xf75a8a30: maj 3 min 0 rcv 3
2025-06-26 12:51:01.445 4133-4166 EGL_emulation io.ionic.i4m.omniascout2 D eglMakeCurrent: 0xf75a8a30: ver 3 0 (tinfo 0xc72ce390) (first time)
2025-06-26 12:51:01.456 4133-4166 Gralloc4 io.ionic.i4m.omniascout2 I mapper 4.x is not supported
2025-06-26 12:51:01.458 4133-4166 HostConnection io.ionic.i4m.omniascout2 D createUnique: call
2025-06-26 12:51:01.459 4133-4166 HostConnection io.ionic.i4m.omniascout2 D HostConnection::get() New Host Connection established 0xf75a7f40, tid 4166
2025-06-26 12:51:01.459 4133-4166 goldfish-address-space io.ionic.i4m.omniascout2 D allocate: Ask for block of size 0x100
2025-06-26 12:51:01.459 4133-4166 goldfish-address-space io.ionic.i4m.omniascout2 D allocate: ioctl allocate returned offset 0x3f3ffe000 size 0x2000
2025-06-26 12:51:01.463 4133-4166 HostConnection io.ionic.i4m.omniascout2 D HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
2025-06-26 12:51:01.480 4133-4206 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/runtime.cdf0dd0f2cce2f7b.js
2025-06-26 12:51:01.482 4133-4196 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/polyfills.6c02caa7c8fe48bf.js
2025-06-26 12:51:01.485 4133-4194 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/main.18cbe3690755ba97.js
2025-06-26 12:51:01.512 4133-4194 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/styles.c8a7a8b29f6a781d.css
2025-06-26 12:51:01.535 4133-4133 Capacitor/Console io.ionic.i4m.omniascout2 I File: https://localhost/ - Line 3171 - Msg: onscript loading complete
2025-06-26 12:51:01.701 4133-4133 Capacitor/Console io.ionic.i4m.omniascout2 I File: https://localhost/main.18cbe3690755ba97.js - Line 1 - Msg: routing module
2025-06-26 12:51:01.804 4133-4196 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/common.4ac6531cb9633b8f.js
2025-06-26 12:51:01.804 4133-4194 Capacitor io.ionic.i4m.omniascout2 D Handling local request: https://localhost/7720.f862b9d839156a9c.js
2025-06-26 12:51:01.811 4133-4133 Capacitor/Console io.ionic.i4m.omniascout2 E File: https://localhost/ - Line 817 - Msg: TypeError: Cannot add property 0, object is not extensible
2025-06-26 12:51:01.813 4133-4133 Capacitor io.ionic.i4m.omniascout2 E JavaScript Error: {ātypeā:ājs.errorā,āerrorā:{āmessageā:āUncaught TypeError: Cannot add property 0, object is not extensibleā,āurlā:āhttps://localhost/main.18cbe3690755ba97.js",ālineā:1,ācolā:267527,āerrorObjectā:"{}ā}}
Both logs are referencing the same error.
- What Android emulator version are you running?
- Does the app work fine in the browser on your computer?
If it does work in the browser, then itās most likely an old emulator (old SDK) that doesnāt have an updated WebView version that supports the JS features you are using. If thatās the case, you need to either use a newer emulator targeting a higher SDK (33 or 34 maybe) or update the Android WebView via the Google Play Store (though from the logs it says the Google Play Store is not available).
You might also be able to use polyfills to address the non-supported JS version. This is usually done by declaring your browser support in a .browserslistrc
file. I am not familiar with how Angular does this.
If it doesnāt work in the web browser, then you just need to fix the JS error.
Thanks for your reply. Yes it does work in the browser and on a real device, including a real tablet. My client is reporting an error on his tablets (not this - the app works fine on real devices generally), so Iām trying to debug, but I donāt have access to any real android tablets - only a phone.
I thought I had the latest emulators, but thats probably not true. Iāll try that first.
I tried setting the browserlist already but that didnāt seem to change anything. Here is what I have not in there;
Chrome >=89
ChromeAndroid >=89
Firefox >=70
Edge >=79
Safari >=14
iOS >=14
Yes it was the emulator being too old - I found a new emulator and it all seems to work fine now.
1 Like