Start a new topic

common Unity android project crash when include wikitudesdk.aar

NEED HELP, THANKS.

 

I have a common unity project(not wikitude plugin or something related to

wikitude), I can export an android projec from Unity and runs well.

 

Now I want to create a new Activity in this android project to run some AR

functions. So I include wikitude android javascript sdk in my gradle, like below

compile fileTree(dir: 'libs', include: ['*.jar'])

compile (name: 'wikitudesdk', ext:'aar')

 

Actually I did not create any activity to add a ar function, just including

wikitudesdk.aar cause my application crash. When I click a button to arise my unity

activity, it give me a error on phone screen:

Failure to initialize!

Your hardware does not support this application, sorry!

 

But, If remove wikitudesdk.aar form gradle, applicaton works fine.

 

So, Is there some conflicts between wikitude android sdk(JS) with original Unity

android project? I did not find any thread about this.

 

BTW, I exported a peer ios project from the same Unity project, but ios version

works fine with Wikitude iOS sdk(JS).



1 person has this problem

Hi, 


I apologize for the late reply.

Can you please tell us on what phone you are testing? And can you please also confirm that the Android JS samples are working correctly on your device?


You can also send us your project to support@wikitude.com and it will help us to identify the problem faster.


Best regards,

Alexandru.

Did you figure out what the problem was ? 

Login or Signup to post a comment