The last (hopefully) testing alpha4 SDK

Vesa Oinonen vesa.a.oinonen at gmail.com
Sat Aug 25 12:02:56 UTC 2012


Hi,

> 5. Reply to this thread if you find any issues.

I tried to compile and run my app on this test-version and I found 2
issues. I've been using alpha3 SDK previously.

First, I got following errors when trying to start application:
D/dalvikvm(11487): Trying to load lib
/data/data/com.example.testapp/lib/libTestApp.so 0x4157dd90
D/AndroidRuntime(11487): Shutting down VM
W/dalvikvm(11487): threadid=1: thread exiting with uncaught exception
(group=0x40c7a1f8)
E/AndroidRuntime(11487): FATAL EXCEPTION: main
E/AndroidRuntime(11487): java.lang.UnsatisfiedLinkError: Cannot load
library: reloc_library[1286]:  1820 cannot locate
'__gnu_thumb1_case_uqi'...
E/AndroidRuntime(11487):
E/AndroidRuntime(11487):        at
java.lang.Runtime.loadLibrary(Runtime.java:370)
E/AndroidRuntime(11487):        at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime(11487):        at
org.kde.necessitas.origo.QtActivity.loadApplication(QtActivity.java:184)
E/AndroidRuntime(11487):        at
org.kde.necessitas.origo.QtActivity.access$300(QtActivity.java:77)
E/AndroidRuntime(11487):        at
org.kde.necessitas.origo.QtActivity$3$1$1.run(QtActivity.java:242)
E/AndroidRuntime(11487):        at
android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime(11487):        at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(11487):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(11487):        at
android.app.ActivityThread.main(ActivityThread.java:4511)
E/AndroidRuntime(11487):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(11487):        at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(11487):        at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
E/AndroidRuntime(11487):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
E/AndroidRuntime(11487):        at dalvik.system.NativeStart.main(Native Method)

I googled for this error and found out that other projects
(https://dev.guardianproject.info/issues/229) have had similar issues.
I downgraded gcc toolchain to 4.3.3. and this failure didn't happen
anymore.

Second issue is that files from assets directory are not accessible. I
have a file "foo.db" in android/assets directory, but file is not
readable from application and QFile::exists("foo.db") also returns
false.

Regards,
Vesa


More information about the Necessitas-devel mailing list