Editor reported Cannot resolve corresponding JNI function

Hi,

editor reported Cannot resolve corresponding JNI function “Java_com_company_test_1ui3_ui_AppViewController_alloc”

I noticed the Android Studio reported there’s 4 error but I have no problem in execute it…
a bit strange… Am I miss any settings ?

Thanks
Ivan

Dear Ivan,

Android Studio is trying to resolve JNI functions as it would do for and Android project which will not work with MOE, thus it will give these false errors. If this gets annoying, you can turn it off by going to Preferences > Editor > Inspections, select the profile where you want to make the change, search for “JNI” and uncheck “Missing JNI function”.

1 Like

I see… Thanks again!