It looks like you're new here. If you want to get involved, click one of these buttons!
11-19 20:36:06.362: A/art(24863): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: illegal class name 'com.giderosmobile.android.plugins.bridge.GBridge' 11-19 20:36:06.362: A/art(24863): art/runtime/check_jni.cc:65] (should be of the form 'package/Class', [Lpackage/Class;' or '[[B') 11-19 20:36:06.362: A/art(24863): art/runtime/check_jni.cc:65] in call to FindClass 11-19 20:36:06.362: A/art(24863): art/runtime/check_jni.cc:65] from void com.giderosmobile.android.player.GiderosApplication.nativeDrawFrame() |
Comments
Try this as a workaround:
masterVolume=0.2
local musicSfx=Sound.new("music.mp3")
local music=musicSfx:play()
function restartMusic()
music:removeEventListener(Event.COMPLETE,restartMusic)
music=musicSfx:play()
if music then
music:setVolume(masterVolume)
music:addEventListener(Event.COMPLETE,restartMusic)
end
end
if music then
music:setVolume(masterVolume)
music:addEventListener(Event.COMPLETE,restartMusic)
end
https://deluxepixel.com
looking at github code, then inside:
https://github.com/gideros/giderosplugins/blob/master/AndroidBridge/source/Android/jni/native.cpp
It requests class correctly:
obj = env->FindClass("com/giderosmobile/android/plugins/bridge/GBridge");
Why does it say it requests class with dot separator in your case? Have no idea
But all in all @boriskey do you experience any other problem with your apps on Android L?
Likes: SinisterSoft
Likes: SinisterSoft
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
https://deluxepixel.com
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: illegal class name 'com.giderosmobile.android.plugins.bridge.GBridge'
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] (should be of the form 'package/Class', [Lpackage/Class;' or '[[B')
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] in call to FindClass
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] from void com.giderosmobile.android.player.GiderosApplication.nativeDrawFrame()
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] "GLThread 5891" prio=5 tid=18 Runnable
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x12cd7170 self=0xab38b2f8
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] | sysTid=21786 nice=0 cgrp=apps sched=0/0 handle=0xab38b928
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] | state=R schedstat=( 119074166 24038435 172 ) utm=9 stm=2 core=0 HZ=100
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] | stack=0xe5f44000-0xe5f46000 stackSize=1036KB
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] native: #00 pc 0000463c /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] native: #01 pc 00002e8d /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] native: #02 pc 0023f65d /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream >&, int, char const*, art::mirror::ArtMethod*)+68)
06-11 11:18:10.946: A/art(21762): art/runtime/check_jni.cc:65] native: #03 pc 0022481f /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream >&) const+146)
06-11 11:18:10.947: A/art(21762): art/runtime/check_jni.cc:65] native: #04 pc 000af9c3 /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)
06-11 11:18:10.947: A/art(21762): art/runtime/check_jni.cc:65] native: #05 pc 000b00fd /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
06-11 11:18:10.947: A/art(21762): art/runtime/check_jni.cc:65] native: #06 pc 000b3f13 /system/lib/libart.so (art::CheckJNI::FindClass(_JNIEnv*, char const*)+58)
Likes: vitalitymobile
That error only occurs at debug process!
Likes: theone10, MoKaLux