"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Using ar unity as android app module

Hello all,

I want to use my Unity ar project in a app I already made as a new activity. Now I'm following this example:

http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse

and

http://docs.unity3d.com/Documentation/Manual/PluginsForAndroid.html

But it wont work I'm getting errors like:

Unable to resolve superclass of OverrideExample

and

NoClassDefFoundError

Any ideas how to do it the right way? 

DavidBeard

Thu, 07/05/2012 - 15:05

Yes that appears to be the same document ( thanks for catching that ). The errors that you're getting appear to derive from a native invocation (e.g. to a C++ shared library ).

That's strange I have this:

https://docs.google.com/file/d/0B-YKBtylPP4pR3ZiUkQ5V2tTT28/edit

And still it does not work could there be someting else what is wrong?

DavidBeard

Tue, 07/17/2012 - 15:56

The NDK is required for the native Android SDK. But you should be able to use the shared libraries from Unity without it. Have you confirmed that these run as a stand-alone Unity project?

Any ideas what it could be? I'm using the new sdk I read that they changed the way jar files are loaded you should now add them to the libs folder but when I do that it does not work eather.

Kamlameet

Fri, 09/28/2012 - 11:43

Was this issue solved. I am getting the same error after follwinng the documented steps http://forum.unity3d.com/threads/71607-Integrating-Unity-and-Eclipse