# Android emulator + babylon.js

**URL:** <https://forum.babylonjs.com/t/android-emulator-babylon-js/57927>\
**Category:** Questions\
**Created:** [April 19, 2025, 11:40am UTC](https://forum.babylonjs.com/t/android-emulator-babylon-js/57927 "2025-04-19T11:40:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [April 19, 2025, 11:40am UTC](https://forum.babylonjs.com/t/android-emulator-babylon-js/57927/1 "2025-04-19T11:40:06Z")

</div>

Hi!

I get this error when I try to run my babylonjs web app in the Android emulator on MacOS using Chrome. Works on a real device though. iOS emulator is not affected.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/a/5a42861c4b7b1ee241c4aa0c4c11aa4f48714a91.png)

Additional error message from Flutter:

```auto
I/chromium( 4395): [INFO:CONSOLE(0)] "[.WebGL-0x76031da200]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : 
glDrawElements: framebuffer incomplete (check)", source: http://10.0.2.2:5173/?bcode=B9998&tcode=T0000009 (0)

```

* * *

I tried all settings found here with partial luck.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/e/2e7c62ffcc89fcaa6f4077988b488cb0d4867988.png)

If set to SwiftShader it works but runs at 8-9 FPS on an M4 Max 😃 (I easily get 120 FPS on the machine itself):

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/a/fa84c30c893f2be8780b646368c5e1d768809303.png)

Any Android devs around here who can give me a hint or some pointers?  
Thanks!

EDIT: more info:

```auto
E/emuglGLESv2_enc( 4909): hardware/google/gfxstream/guest/GLESv2_enc/GL2Encoder.cpp:s_glTexImage3D:4430 GL error 0x501 condition [width > max_3d_texture_size]
E/chromium( 4909): [ERROR:texture_manager.cc(3350)] [.WebGL-0x6a00141400]GL ERROR :GL_INVALID_VALUE : glTexImage3D: 

D/eglCodecCommon( 4909): checkFramebufferAttachmentCompleteness: texture has zero dimension

```

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [April 21, 2025, 4:17am UTC](https://forum.babylonjs.com/t/android-emulator-babylon-js/57927/2 "2025-04-21T04:17:53Z")

</div>

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/3/d3826f890ae139470da5263b0b9ed7e191a8046c.jpeg)

Works well with Pixel based virtual device 😉
