Log in or register to post comments

ClassNotFoundException

October 31, 2019 - 3:04am #1

I deployed the sample into my device but when i try to use the vu-mark feature i get an exception saying :-

E/ARCore-AuthenticationManager: Exception during AuthenticationManager construction: com.google.android.gms.common.GoogleApiAvailability

    java.lang.ClassNotFoundException: com.google.android.gms.common.GoogleApiAvailability

        at java.lang.Class.classForName(Native Method)

        at java.lang.Class.forName(Class.java:453)

        at com.google.ar.persistence.AuthenticationManager.a(PG:72)

        at com.google.ar.persistence.AuthenticationManager.<init>(PG:4)

        at com.google.ar.persistence.AuthenticationManagerFactory.create(PG:3)

     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.GoogleApiAvailability" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.vuforia.engine.CoreSamples-5YBn6NT-iO4GS7Q_KMj8WA==/base.apk"],nativeLibraryDirectories=[/data/app/com.vuforia.engine.CoreSamples-5YBn6NT-iO4GS7Q_KMj8WA==/lib/arm64, /data/app/com.vuforia.engine.CoreSamples-5YBn6NT-iO4GS7Q_KMj8WA==/base.apk!/lib/arm64-v8a, /system/lib64]]

        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

        at java.lang.Class.classForName(Native Method) 

        at java.lang.Class.forName(Class.java:453) 

        at com.google.ar.persistence.AuthenticationManager.a(PG:72) 

        at com.google.ar.persistence.AuthenticationManager.<init>(PG:4) 

        at com.google.ar.persistence.AuthenticationManagerFactory.create(PG:3)

 

Can anyone please help me with this ?

ClassNotFoundException

October 31, 2019 - 6:16am #2

Hi,

Could you please confirm the following?

Vuforia SDK:

Unity version:

Device:

Os version on device:

Besides the vumark feature, are the other working? ( ImageTargets, Cloud Reco etc.)

Thank you.

Vuforia Engine Support

 

Log in or register to post comments