Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android Studio

Jerome CHA Mar 11, 2015

I put all files in the sdk lib folder into my project libs folder.

Therefore, I sill get an error when I tried to launch the sample project from github

ERROR Stacktrace ----------------------------
03-11 11:36:05.365 30723-30723/com.pictime.catchoom W/dalvikvm﹕ Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/craftar/CraftARActivity;
03-11 11:36:05.365 30723-30723/com.pictime.catchoom W/dalvikvm﹕ Class init failed in newInstance call (Lcom/pictime/catchoom/RecognitionOnlyActivity;)
03-11 11:36:05.365 30723-30723/com.pictime.catchoom D/AndroidRuntime﹕ Shutting down VM
03-11 11:36:05.365 30723-30723/com.pictime.catchoom W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41a07700)
03-11 11:36:05.365 30723-30723/com.pictime.catchoom E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: Couldn't load track from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.pictime.catchoom-2.apk,libraryPath=/data/app-lib/com.pictime.catchoom-2]: findLibrary returned null
at java.lang.Runtime.loadLibrary(
at java.lang.System.loadLibrary(
at com.craftar.CraftARActivity.<clinit>(
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(
at dalvik.system.NativeStart.main(Native Method)
03-11 11:36:14.705 30723-30723/com.pictime.catchoom I/Process﹕ Sending signal. PID: 30723 SIG: 9


I added all jar in my :

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

Did I miss something?

Best regards,


Mar 11, 2015


Please follow this steps to add the CraftAR Libraries into the project after downloading it:

1- Open the project in Android studio. In the project explorer, select the view 'Project Files'.
2- Create a folder 'libs' in the root of the project. Copy all the .jars included in our SDK there.
3- Create a folder jniLibs in the src/main folder. Copy the folders armeabi, armeabi-v7a and x86 there.
4- If you have import errors with the CraftAR classes, right click on the jars in libs/ folder and click on 'Add as library'

Note that this process is valid both for the image recognition SDK and for the augmented reality SDK.

Best regards,

1 rated
Jerome CHA

Mar 11, 2015

Thank you! It works! :)
1 rated

This question has received the maximum number of answers.

Couldn't find what you were looking for?
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found