Wikitude

How can we help you today?

Android sample not working

b

bibaswan pattjoshi

started a topic
6 months ago

I am trying to un the sample SDK for Native android but it just shows me error as below.

Error:error: ****/WikitudeSDK_NativeAPI_Android_7-1-0_2017-09-20_18-04-12/Examples/NativeSDKExamples/plugins/src/main/cpp/jni/../lib/x86/libippicv.a(jmp_icvippiTranspose_16u_C4IR_as.s.o): relocation R_386_GOTOFF against preemptible symbol icv_ippJumpIndexForMergedLibs cannot be used when making a shared object

Wikitude Support

Did you make sure that you downloaded Native SDK from the Download page and followed the instructions provided here?

ThanksEva

A

Andrzej Dobrowolski

said
5 months ago

Hi,

I have the same problem.

I downloaded mentioned sdk and try run a demo app.

1 person likes this

A

Andrzej Dobrowolski

said
5 months ago

Error:error: /Volumes/Media/projects/WikitudeSDK_NativeAPI_Android_7-1-0_2017-09-20_18-04-12/Examples/NativeSDKExamples/plugins/src/main/cpp/jni/../lib/x86/libippicv.a(jmp_icvippiMirror_8u_C3IR_as.s.o): relocation R_386_GOTOFF against preemptible symbol icv_ippJumpIndexForMergedLibs cannot be used when making a shared object

Wikitude Technical Support

said
3 months ago

Hi,

the error you are getting is due to OpenCV not being able to be built for the x86 architecture using NDK version 16. OpenCV is only used in the face detection plugin, so you could just not build the plugin library for the x86 architecture to circumvent this issue altogether.

Alternatively, if you want to run one of the plugin samples on an x86 device, you could use an older version of the NDK. Internally we are using r14b and have not had this issue yet.

- Daniel

S

Stagiair Colijn

said
3 months ago

does this also count for the Javascript SDK? i will try to install r14B once i figured out how to do that in android studio

Wikitude Technical Support

said
3 months ago

Hi,

You can also remove the dependency to the plugins module in the app module (build.gradle). This should make everything work as expected except the plugins samples. If you want to try out the plugins samples you could also try to disable the plugins build for the x86 architecture.

Best Regards,

Alex

S

Stagiair Colijn

said
3 months ago

Yes thanks i changed it to minimum api 23 so i could do requests, then i added: