Script for Android - LibGDX

I have been writing a complete game engine on top of LibGDX for a while and have written almost every game object in Javascript (I created a composite system of game objects). To interpret JS, I used the Rhino engine, which works phenomenally well on my ubuntu system, however, when I tried to run it on Android, I could not compile it at all, and from what I read, because Google did not use the standard Java implementation, supporting Rhino, but now I see support for the SL4A project, however I was looking for a simple jar Rhino file that was compatible with Android, but after viewing the downloads I found all the APK files that do not seem to have a library and from what I read , The APK is supposedly a pro The template project, but how can I use it with my existing code without the jar package? May be,Am I completely missing the point?

+5
source share
1 answer

It seems that the SL4A Rhino repository contains all the necessary add-ons (including rhino1_7R2-dex.jar) to run Rhino on Android.

+1
source

All Articles