Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Passing enum to android native module

$
0
0

i am passing enum to android native module but i get this error at run time

> [ERROR] : JNIUtil: !!! Unable to convert unknown Java object class 'miy.Enums$Status' to Js value !!! > [INFO] : libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 6614 (KrollRuntimeThr)

the above error is displayed before even the function in native module is called ? so it seems like the issue is in JNI layer?

so how do i pass enum to a native module ?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>