Hi,

I am trying to use JavaScriptCore in my Android application.

I build JavaScriptCore as a static library and I developed a JNI layer to
access JSC methods.
All my classes compile fine, but at the end of the build process (i guess in
the linker action) i got some errors like "undefined reference
to JSStringCreateWithUTF8CString".

I was not able to correctly link my code with the JavaScriptCore static
library.
As far as I know I only need to specify LOCAL_STATIC_LIBRARIES := libjs in
my Android.mk file. Is that correctly?
Besides that I´ve already tried to specify link flags through
the LOCAL_LDFLAGS and LOCAL_CPPFLAGS variables in my Android.mk file.

How can I use JavaScriptCore as a static library in my Android application?

Thanks
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to