How to import EasyAR SDK into my own app

0 votes
asked Feb 26, 2018 by amangrover (260 points)

So far, I have been successful in running all the demo/sample apps, but I can't figure out how to import the SDK into my own app. I have followed all the tutorials or documentation available but as soon as the code comes to 

if (!Engine.initialize(this, key)) {
    Log.e("HelloAR", "Initialization Failed.");
}
the app crashes without even giving any log error.
P.S. I am running this app in android Java.

1 Answer

0 votes
answered Feb 26, 2018 by easyar0807 (1,020 points)
Do you import the SDK into your app? What are the main functions of this app? Can you provide more detailed information? It's convenient to solve the problem.
commented Feb 26, 2018 by amangrover (260 points)
edited Feb 27, 2018 by amangrover
So I have narrowed my problem down. My app where I have imported the SDK doesn't run only on one device, Yu Yureka, it has CyanogenMod OS.

Error it produces is :

A/libc: invalid address or address of corrupt block 0x6ffff passed to dlfree
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 6331 (AsyncTask #4)

But the sample app HelloAR runs fine on this device.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...