Sonivox For Android 7/8/9

43 views
Skip to first unread message

Ho YuanHou

unread,
Jul 3, 2019, 12:13:56 AM7/3/19
to android-midi
Hi All,

I been using sonivox since Android 4, 5 and 6
As I try to compile the sonivox project with OREO Go device, The APP crashed with error below.


07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at java.lang.System.loadLibrary(System.java:1657)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at org.billthefarmer.mididriver.MidiDriver.<clinit>(MidiDriver.java:90)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at glitteropus.com.MidiUSBPlayer.<init>(MidiUSBPlayer.java:21)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at glitteropus.com.MidiPlayer.<init>(MidiPlayer.java:135)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at glitteropus.com.SheetMusicActivity.createView(SheetMusicActivity.java:108)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at glitteropus.com.SheetMusicActivity.onCreate(SheetMusicActivity.java:100)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.Activity.performCreate(Activity.java:7023)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.Activity.performCreate(Activity.java:7014)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2734)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2859)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.ActivityThread.-wrap11(ActivityThread.java:-1)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1592)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.os.Handler.dispatchMessage(Handler.java:106)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.os.Looper.loop(Looper.java:164)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at android.app.ActivityThread.main(ActivityThread.java:6518)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at java.lang.reflect.Method.invoke(Native method)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531] 

07-03 11:36:59.830 1217-1217/? A/zygote: runtime.cc:531] 

                                         

                                         --------- beginning of crash

07-03 11:36:59.960 1583-1217/? A/google-breakpad: Microdump skipped (uninteresting)

07-03 11:36:59.973 1217-1217/? W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###

07-03 11:36:59.977 1217-1217/? W/google-breakpad: Chrome build fingerprint:

07-03 11:36:59.977 1217-1217/? W/google-breakpad: 68.0.3440.91

07-03 11:36:59.977 1217-1217/? W/google-breakpad: 344009102

07-03 11:36:59.977 1217-1217/? W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###

07-03 11:36:59.979 1217-1217/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 1217 (glitteropus.com), pid 1217 (glitteropus.com)

07-03 11:37:00.012 1494-1494/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK

07-03 11:37:00.012 1494-1494/? D/KeyguardUpdateMonitor: handleTimeUpdate

07-03 11:37:00.115 1588-1588/? I/crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone

07-03 11:37:00.115 781-781/? I//system/bin/tombstoned: received crash request for pid 1217

07-03 11:37:00.118 1588-1588/? I/crash_dump32: performing dump of process 1217 (target tid = 1217)

07-03 11:37:00.118 1588-1588/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

07-03 11:37:00.119 1588-1588/? A/DEBUG: Build fingerprint: 'asus/WW_X00RD/ASUS_X00R_3:8.1.0/OPM1.171019.019/15.00.1811.87:user/release-keys'

07-03 11:37:00.119 1588-1588/? A/DEBUG: Revision: '0'

07-03 11:37:00.119 1588-1588/? A/DEBUG: ABI: 'arm'

07-03 11:37:00.119 1588-1588/? A/DEBUG: pid: 1217, tid: 1217, name: glitteropus.com  >>> glitteropus.com <<<

07-03 11:37:00.119 1588-1588/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

07-03 11:37:00.123 1588-1588/? A/DEBUG: Abort message: 'java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.LinkageError: dlopen libsonivox.so failed'

07-03 11:37:00.123 1588-1588/? A/DEBUG:     r0 00000000  r1 000004c1  r2 00000006  r3 00000008

07-03 11:37:00.123 1588-1588/? A/DEBUG:     r4 000004c1  r5 000004c1  r6 be8fe1e4  r7 0000010c

07-03 11:37:00.124 1588-1588/? A/DEBUG:     r8 00000000  r9 adb0c1a8  sl 0000000a  fp be8fe230

07-03 11:37:00.124 1588-1588/? A/DEBUG:     ip 91c17760  sp be8fe1d0  lr af4abc6d  pc af4a570e  cpsr 20070030

07-03 11:37:00.233 1685-1844/? I/chatty: uid=1001(radio) HwBinder:1685_1 expire 3 lines

07-03 11:37:00.236 1588-1588/? A/DEBUG: backtrace:

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #00 pc 0001a70e  /system/lib/libc.so (abort+63)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #01 pc 0035ad79  /system/lib/libart.so (art::Runtime::Abort(char const*)+392)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #02 pc 0041a62d  /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #03 pc 0024d2e9  /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1212)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #04 pc 0024d46b  /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+58)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #05 pc 000d5bd3  /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+42)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #06 pc 000d5753  /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+274)

07-03 11:37:00.236 1588-1588/? A/DEBUG:     #07 pc 000d40fd  /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*)+596)



========================================================================================================


Tried to compile the new library, to see if it works on my OREO Go with the INFO in the link below.

https://github.com/billthefarmer/mididriver/issues/22


Android studio ask me to upgrade the Gradle plugin with message below

"Error:This Gradle plugin requires a newer IDE able to request IDE model level 3. For Android Studio this means version 3.0+"


I had bad experience with updating the Android studio, Android 6 device can not "RUN APP" with NDK error......so I would rather 

not to update the Android studio again.


Any comment would be appreciated.


Regards,

Reply all
Reply to author
Forward
0 new messages