Android Deployment Fatal signal 11 (SIGSEGV) at 0xdeadbaad, can't instantiate class org.qtproject.qt5.android.multimedia.QtAndroidMediaPlayer;
-
I have in my project file included
QT += multimedia multimediawidgets
but it appears that the libraries have no copied over? or something?
I am trying this on the desktop build it works fine.Has anyone seen this error ? I searched for
W/System.err(18641): java.lang.InstantiationException: can't instantiate class org.qtproject.qt5.android.multimedia.QtAndroidMediaPlayer; no empty constructor
and found nothing helpful but adding <item>Qt5MultimediaQuick_p</item> to libs which did not at all make a change.
I am guessing multimedia doesn't actually work on android ?
W/System.err(18641): java.lang.InstantiationException: can't instantiate class org.qtproject.qt5.android.multimedia.QtAndroidMediaPlayer; no empty constructor
W/System.err(18641): at java.lang.Class.newInstanceImpl(Native Method)
W/System.err(18641): at java.lang.Class.newInstance(Class.java:1319)
W/System.err(18641): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:314)
W/System.err(18641): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(18641): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(18641): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:200)
W/System.err(18641): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:484)
W/System.err(18641): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:688)
W/System.err(18641): at android.app.Activity.performCreate(Activity.java:5048)
W/System.err(18641): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
W/System.err(18641): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2052)
W/System.err(18641): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2113)
W/System.err(18641): at android.app.ActivityThread.access$700(ActivityThread.java:139)
W/System.err(18641): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1224)
W/System.err(18641): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(18641): at android.os.Looper.loop(Looper.java:137)
W/System.err(18641): at android.app.ActivityThread.main(ActivityThread.java:4918)
W/System.err(18641): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(18641): at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(18641): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
W/System.err(18641): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
W/System.err(18641): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(18641): Trying to load lib /data/data/org.qtproject.example.TimeFrameAlpha/lib/libgnustl_shared.so 0x41e8a9d8
D/dalvikvm(18641): Added shared lib /data/data/org.qtproject.example.TimeFrameAlpha/lib/libgnustl_shared.so 0x41e8a9d8
D/dalvikvm(18641): No JNI_OnLoad found in /data/data/org.qtproject.example.TimeFrameAlpha/lib/libgnustl_shared.so 0x41e8a9d8, skipping init
....
Continues to skip init for like every library.
W/dalvikvm(18641): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtNativeInputConnection'
W/dalvikvm(18641): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtExtractedText'
F/libc (18641): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 18658 (.TimeFrameAlpha) -
I have been at this for hours someone please help me out.
-
Okay the issue was that multimedia stuff basically is not available for android.