Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
is it possible to add luajava — Gideros Forum

is it possible to add luajava

alexzhengalexzheng Guru
edited May 2012 in General questions
I am playing with this library that can call java methode from lua directly.
I add the c and java file to the project exported by gideros and compile the c code using ndk-build and get the libluajava.so .

but it always report the following error when exported and run on device if I add some code in main.lua
Log = luajava.bindClass("android.util.Log")
Log:d("abc", "hello")


attempt to index global 'luajava' (a nil value)

http://www.keplerproject.org/luajava/
https://github.com/mfrawley/AndroLua

Dislikes: sunnyguy

+1 -1 (+0 / -1 )Share on Facebook

Comments

Sign In or Register to comment.