It looks like you're new here. If you want to get involved, click one of these buttons!
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: the return type of CallStaticObjectMethodV does not match void com.giderosmobile.android.plugins.notification.NotificationClass.registerForPushNotifications(java.lang.String)It only concerns the "push notification feature". If I comment out the registerForPushNotifications(Id), the project works fine.
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] in call to CallStaticObjectMethodV
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] from void com.giderosmobile.android.player.GiderosApplication.nativeDrawFrame()
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] "GLThread 35447" prio=5 tid=10 Runnable
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | group="main" sCount=0 dsCount=0 obj=0x32c08080 self=0xb40d7e00
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | sysTid=8969 nice=0 cgrp=default sched=0/0 handle=0xaee3f930
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 7508331311 2315044992 19174 ) utm=662 stm=88 core=1 HZ=100
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | stack=0xaed3d000-0xaed3f000 stackSize=1038KB
11-20 16:10:42.763 8922-8969/com.kragouldev.duo A/art: art/runtime/java_vm_ext.cc:410] | held mutexes= "mutator lock"(shared held)
Comments
Unfortunately I don't have higher API compatible device to try out all plugins.
I will try to go through all plugin codes and recheck method signatures
Could you tell me if there is a way to use the jni cpp files directly from android studio, so that I can try to patch the files in my project locally ?
https://github.com/gideros/gideros/commit/b9370f96270edaeb841ef990856b130ed571cc89
I know how to add plugin building into app build workflow in eclipse (http://mobilepearls.com/labs/ndk-builder-in-eclipse/)
I have never done it for Android Studio though, but you can probably find similar tutorials on the net
http://pastebin.com/Ya5iS4jE
Any idea @ar2rsawseen?
They were updated in 2015.10
As you can see in the pastebin, the error happens when I run buildandroidplugins.sh script.
To build it, I run:
- buildandroidso.sh
- buildandroidlibs.sh
- buildandroidplugins.sh
How could that use an "old" version of the lib?
[armeabi] Prebuilt : libgideros.so <= jni/../../../../../Sdk/lib/android/armeabi/
make sure it is the one that you have build previously.
Since you are using buildscripts, the correct order should be:
bash buildandroidlibs.sh
bash buildandroidso.sh
bash buildandroidplugins.sh
What lib actually contains the faulty symbol ("g_NextId()")?
Is there any oher script I should be using to build the android sdk properly?
You can simply try taking libgideros, liblua, and libgvfs from the 2015.10 release and place them in the Sdk folder and run only buildandroidplugins.sh , but run script from within scripts directory
I took libgideros, libua and libgvfs from a fresh 2015.10 release folder and copied them into my repo/Sdk/lib folder (under the arch folders) and I get the same error.
I am on Linux and using the Windows Release, could it be a problem?
Just to check here is the md5sum of my armeabi/libgideros.so: f2d615f83333c2fea92396ccdfd7511b
Could you check you have the same?
Otherwise could you send me you libgideros.so to check if it helps?
Thanks