Hi,
<div><br></div><div>I am trying to use JavaScriptCore in my Android application.</div><div><br></div><div>I build JavaScriptCore as a static library and I developed a JNI layer to access JSC methods.</div><div>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".</div>
<div><br></div><div>I was not able to correctly link my code with the JavaScriptCore static library.</div><div>As far as I know I only need to specify LOCAL_STATIC_LIBRARIES := libjs in my Android.mk file. Is that correctly?</div>
<div>Besides that I´ve already tried to specify link flags through the LOCAL_LDFLAGS and LOCAL_CPPFLAGS variables in my Android.mk file.</div><div><br></div><div>How can I use JavaScriptCore as a static library in my Android application?</div>
<div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div>