Search code examples
androidwikitudewikitude-sdk

Android Studio Wikitiude Samples Error


I have this error when I trying to run Wikitude examples. How can I solve this.

Error:error: C:/Users/se/Desktop/wwww/Examples/SDKExamples/plugins/src/main/cpp/jni/../lib/x86/libippicv.a(jmp_icvippiMulC_32f_C1IR_as.s.o): relocation R_386_GOTOFF against preemptible symbol icv_ippJumpIndexForMergedLibs cannot be used when making a shared object

Error:error: linker command failed with exit code 1 (use -v to see invocation)


Solution

  • I've had the exact same problem, but think I have found a work-around to this problem. I think the problem lies in the newer version of NDK, so you could try to re-install it.

    Go to SDK Manager and navigate to Appearance & Behavior/System Settings/Android SDK.

    In the tab menu choose SDK Tools and deselect the NDK checkbox -> Apply. After uninstalling -> mark NDK and Apply again.

    Also, after installing NDK, remove the build folder in your project (only the one with the intermediates folder in it).

    Your errors will still occur when you Make the project, but your code will run when you hit Debug.

    This work-around worked for me, so I hope this works for you too.