Programming

(Java, JavaScript) Problems using Rhino on Android

steloflute 2013. 3. 15. 23:30

http://stackoverflow.com/questions/3859305/problems-using-rhino-on-android

 

I finally got it to work. I should have paid more close attention to that blog post I linked.

If I add the line

cx.setOptimizationLevel(-1);

to disable optimisations, everything works perfectly.