borisvanschooten / glesjs

Fast and small Android WebGL bindings for V8.
http://tmtg.net/glesjs/
Other
151 stars 29 forks source link

How to get gles.js up and running in Android Studio? #9

Open BdR76 opened 8 years ago

BdR76 commented 8 years ago

Does anyone know how to get this glesjs project up and running in Android Studio? I don't need to recompile the core library using NDK or anything, I'm just trying to get a simple pixi demo up and running.

I've posted what I've tried here

radman-x commented 8 years ago

Thanx @BdR76 for this project and the helpful post (http://www.html5gamedevs.com/topic/7501-wip-glesjs-opengl-es-bindings-for-js-aka-fast-webgl-for-android/?do=findComment&comment=124699. I am able to open this in Android Studio and run/debug it. However, we need to have HTML5 audio (and video) elements and to debug this, we probably need to rebuild the libglesjs.so. To do that, we will need to fix the bug you mention in your post about main.cpp "android_native_app_glue.h: No such file or directory" (we have encountered that too). Any ideas how to fix this?

tbfly commented 6 years ago

https://github.com/BdR76/GLES.JS-Android-Studio-project @BdR76 's work.