Log in or register to post comments

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 12, 2015 - 3:34am #1

Hi,

When trying to run a vuforia based application on our Samsung Galaxy Tab3 (10.1) with Android 4.4.2 on it, it crashes before even loading the splash screen. The error is as follows:

01-12 11:11:41.009: E/AndroidRuntime(7510): Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.initApplicationNative:(III)V
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.initApplicationNative(Native Method)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.initApplication(QCARPlayerSharedActivity.java:353)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.updateApplicationStatus(QCARPlayerSharedActivity.java:273)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerSharedActivity.onCreate(QCARPlayerSharedActivity.java:207)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity.onCreate(QCARPlayerNativeActivity.java:43)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.Activity.performCreate(Activity.java:5541)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2368)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2464)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.ActivityThread.access$900(ActivityThread.java:172)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.os.Handler.dispatchMessage(Handler.java:102)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.os.Looper.loop(Looper.java:146)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at android.app.ActivityThread.main(ActivityThread.java:5653)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at java.lang.reflect.Method.invokeNative(Native Method)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at java.lang.reflect.Method.invoke(Method.java:515)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
01-12 11:11:41.009: E/AndroidRuntime(7510): 	at dalvik.system.NativeStart.main(Native Method)

Any help would be appreciated on how to fix this. The same APK works fine on our Nexus 4, Galaxy S5, HTC M8, Galaxy S4 and Note4.

Adam

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 26, 2015 - 5:45pm #7

It's good that the pre-compiled apk works. For the next troubleshooting step, you might want to try compiling the Android (non-Unity) version of the sample app from Eclipse or Android Studio and see if that works.

Here's a guide for loading the sample intro Android Studio:

https://developer.vuforia.com/forum/android/using-android-studio-vuforia

If that doesn't work, then try creating a new empty project (without Vuforia) in Android Studio and add an Activity and a few View objects to your layout and then compile it to the device.

 

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 23, 2015 - 1:16am #6

Ok thanks. So is there a compiled APK built using Unity that I can test? So far I have only come across the issue on one device, but if its more widespread then its going to cause problems.

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 22, 2015 - 7:17pm #5

The precompiled apk was created using the native Android sample (non-Unity).

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 22, 2015 - 6:07am #4

dm3d wrote:

Is this app a custom app or one of our Vuforia sample apps? Does the ImageTargets sample app work okay? Can you try loading the pre-compiled vuforiasamples-3-0-9.apk sample apk?

The precompiled APK works fine on the tablet. Could you let me know which version of Unity this was built with? I am wondering if its a Unity issue.

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 19, 2015 - 2:51am #3

Hi,

Sorry ive not been able to test recently as I have been working on other projects. As soon as I get a chance I will do some testing for you.

Adam

UnsatisfiedLinkError - Android Samsung Galaxy Tab 3 (10.1) 4.4.2

January 15, 2015 - 7:21pm #2

Is this app a custom app or one of our Vuforia sample apps? Does the ImageTargets sample app work okay? Can you try loading the pre-compiled vuforiasamples-3-0-9.apk sample apk?

Log in or register to post comments