I'm trying to integrate the SimpleIRExample as library into my project. For posting purposes, I wrote a minimal example which throws the same error as in my project.
The parent project 'TestIR' has to be like that (this is the MainActivity):
We have no syntax nor compile errors, so run the program. A simple button of my testIR project's activity appears, and when I pushed it I've got the following errors, in a repeatedly way:
D/dalvikvm(27351): Trying to load lib /data/data/com.example.testir/libarchitect.so 0x421a9cb0
A/libc(27351): Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 27351 (.example.testir)
When I create a main activity in a not-library in a standalone project, and call the WikitudeAR Activity, it works correctly. However, if the project uses several libraries, I've got same errors as above (Fatal signal 11 SIGSEV). It's interesting for me to have SimpleIRExample as library or call in any way, because I wrote an apps container that calls several libraries or modules to make a great and diverse app.
Anyone has any idea?
Thanks in advance!
N
Nacho Alvarez
said
over 10 years ago
Solved installing new SDK version 3.0 launched yesterday (06/19/13). Now works perfectly as library in a Nexus 4 with Android 4.2.2, making some changes in the very good examples available of this version.
Nacho Alvarez