Qt for android + openCV

Odpowiedz Nowy wątek
2015-04-12 13:42
0

Witam, czy ktoś z Was ma może wiedzę na temat tego jak dodać do projektu robionego w Qt dla androida bibliotekę opencv? Z góry dzięki za pomoc.

Pozostało 580 znaków

2015-04-13 07:37
0

https://wiki.qt.io/OpenCV_with_Qt

Pozostało 580 znaków

2015-04-13 15:21
0

No comments.

Pozostało 580 znaków

2015-04-13 15:29
0

Zapytam inaczej. Czy ktoś kiedyś zbudował projekt w qt dla androida z wykorzystaniem opencv lub WIE/ROZUMIE co należy zrobić i może mi w kilku punktach wytłumaczyć?
Ściągnąłem opencv_android_sdk i dodałem biblioteki do projektu jednak to nie działa, w wersji na PC wszystko jest ok, a na androidzie App has stopped i dyntka

Pozostało 580 znaków

2015-04-13 15:35
1

Fajnie, jak dostajesz ANR to dostajesz info dlaczego. Zawarte jest to w Logcat i chętnie byśmy zobaczyli a nie wróżyli z fusów.

Pozostało 580 znaków

2015-04-13 16:47
0

plik .pro wygląda tak

TEMPLATE = app

QT += qml quick widgets

SOURCES += main.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Default rules for deployment.
include(deployment.pri)

INCLUDEPATH+=C:\OpenCV-android-sdk\sdk\native\jni\include
LIBS+= -LC:\OpenCV-android-sdk\sdk\native\libs\armeabi-v7a\
-LC:\OpenCV-android-sdk\sdk\native\3rdparty\libs\armeabi-v7a\
    -llibtiff\
    -llibjpeg\
    -llibjasper\
    -llibpng\
    -lIlmImf\
    -ltbb\
    -lopencv_core\
    -lopencv_androidcamera\
    -lopencv_flann\
    -lopencv_imgproc\
    -lopencv_highgui\
    -lopencv_features2d\
    -lopencv_calib3d\
    -lopencv_ml\
    -lopencv_objdetect\
    -lopencv_video\
    -lopencv_contrib\
    -lopencv_photo\
    -lopencv_java\
    -lopencv_legacy\
    -lopencv_ocl\
    -lopencv_stitching\
    -lopencv_superres\
    -lopencv_ts\
    -lopencv_videostab

a konsola pokazuje takie komunikaty

Uruchamianie zdalnego procesu.D/dalvikvm( 1025): Not late-enabling CheckJNI (already on)
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1025): GC_CONCURRENT freed 293K, 5% free 9207K/9607K, paused 11ms+7ms
D/dalvikvm( 1025): GC_CONCURRENT freed 391K, 6% free 9221K/9735K, paused 9ms+9ms
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libgnustl_shared.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libgnustl_shared.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libgnustl_shared.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Core.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Core.so 0x412a5168
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Gui.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Gui.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5Gui.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Network.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Network.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5Network.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Qml.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Qml.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5Qml.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Quick.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Quick.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5Quick.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5Widgets.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5Widgets.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5Widgets.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5QuickParticles.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/lib/libQt5QuickParticles.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/lib/libQt5QuickParticles.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x412a5168
I/Qt      ( 1025): qt start
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a5168
D/dalvikvm( 1025): Added shared lib /data/data/org.qtproject.example.mk_7/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a5168
D/dalvikvm( 1025): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_7/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a5168, skipping init
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libQt5QuickParticles.so 0x412a5168
D/dalvikvm( 1025): Shared lib '/data/data/org.qtproject.example.mk_7/lib/libQt5QuickParticles.so' already loaded in same CL 0x412a5168
W/System.err( 1025): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
W/System.err( 1025):    at java.lang.Class.classForName(Native Method)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:100)
W/System.err( 1025):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1025):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1025):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1025): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawable
W/System.err( 1025):    ... 25 more
W/System.err( 1025): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
W/System.err( 1025):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1025):    ... 25 more
W/System.err( 1025): java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
W/System.err( 1025):    at java.lang.Class.classForName(Native Method)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:101)
W/System.err( 1025):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1025):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1025):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1025): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/AnimatedStateListDrawable
W/System.err( 1025):    ... 25 more
W/System.err( 1025): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
W/System.err( 1025):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1025):    ... 25 more
W/System.err( 1025): java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawable
W/System.err( 1025):    at java.lang.Class.classForName(Native Method)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1025):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:102)
W/System.err( 1025):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1025):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1025):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1025): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/VectorDrawable
W/System.err( 1025):    ... 25 more
W/System.err( 1025): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawable
W/System.err( 1025):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1025):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1025):    ... 25 more
W/System.err( 1025): java.lang.NoSuchFieldException: View_paddingStart
W/System.err( 1025):    at java.lang.Class.getDeclaredField(Class.java:631)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:435)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:181)
W/System.err( 1025):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1025):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1025):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1025): java.lang.NoSuchFieldException: View_paddingEnd
W/System.err( 1025):    at java.lang.Class.getDeclaredField(Class.java:631)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:435)
W/System.err( 1025):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:182)
W/System.err( 1025):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1025):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1025):    at dalvik.system.NativeStart.main(Native Method)
W/ResourceType( 1025): Skipping entry 0x10804a5 in package table 0 because it is not complex!
D/dalvikvm( 1025): GC_CONCURRENT freed 407K, 5% free 9311K/9799K, paused 9ms+8ms
D/dalvikvm( 1025): GC_CONCURRENT freed 355K, 5% free 9434K/9927K, paused 9ms+8ms
D/dalvikvm( 1025): GC_CONCURRENT freed 460K, 6% free 9479K/10055K, paused 8ms+8ms
D/dalvikvm( 1025): GC_CONCURRENT freed 427K, 6% free 9597K/10119K, paused 11ms+17ms
D/dalvikvm( 1025): GC_CONCURRENT freed 399K, 6% free 9658K/10183K, paused 9ms+9ms
D/dalvikvm( 1025): GC_CONCURRENT freed 301K, 5% free 9829K/10247K, paused 9ms+9ms
D/dalvikvm( 1025): GC_CONCURRENT freed 479K, 6% free 9829K/10439K, paused 9ms+10ms
D/dalvikvm( 1025): GC_CONCURRENT freed 376K, 6% free 9874K/10439K, paused 9ms+10ms
D/dalvikvm( 1025): GC_CONCURRENT freed 403K, 5% free 9941K/10439K, paused 10ms+57ms
D/dalvikvm( 1025): GC_CONCURRENT freed 492K, 6% free 9937K/10503K, paused 8ms+14ms
D/dalvikvm( 1025): GC_CONCURRENT freed 441K, 5% free 9985K/10503K, paused 10ms+25ms
D/dalvikvm( 1025): GC_CONCURRENT freed 383K, 5% free 10060K/10567K, paused 10ms+12ms
D/dalvikvm( 1025): GC_CONCURRENT freed 458K, 6% free 10128K/10695K, paused 9ms+10ms
D/dalvikvm( 1025): GC_CONCURRENT freed 453K, 6% free 10158K/10695K, paused 8ms+10ms
D/dalvikvm( 1025): Trying to load lib /data/data/org.qtproject.example.mk_7/lib/libmk_7.so 0x412a5168
D/AndroidRuntime( 1025): Shutting down VM
W/dalvikvm( 1025): threadid=1: thread exiting with uncaught exception (group=0x409c01f8)
E/AndroidRuntime( 1025): FATAL EXCEPTION: main
E/AndroidRuntime( 1025): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]:    37 could not load needed library 'libopencv_java.so' for 'libmk_7.so' (load_library[1091]: Library 'libopencv_java.so' not found)
E/AndroidRuntime( 1025):    at java.lang.Runtime.loadLibrary(Runtime.java:370)
E/AndroidRuntime( 1025):    at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:252)
E/AndroidRuntime( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
E/AndroidRuntime( 1025):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
E/AndroidRuntime( 1025):    at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime( 1025):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime( 1025):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
E/AndroidRuntime( 1025):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
E/AndroidRuntime( 1025):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime( 1025):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime( 1025):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1025):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1025):    at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1025):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1025):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1025):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1025):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1025):    at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 1025): threadid=3: reacting to signal 3
I/dalvikvm( 1025): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1025): Sending signal. PID: 1025 SIG: 9

"org.qtproject.example.mk_7" zako\F1czy\B3 prac\EA.
edytowany 2x, ostatnio: romson25, 2015-04-13 17:40
zamknij zawartość pliku w znacznikach <code>. Zawartość konsoli też. - MarekR22 2015-04-13 17:03

Pozostało 580 znaków

2015-04-13 17:42
0

czyli to przez to tak?

E/AndroidRuntime( 1025): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]:    37 could not load needed library 'libopencv_java.so' for 'libmk_7.so' (load_library[1091]: Library 'libopencv_java.so' not found)

Pozostało 580 znaków

2015-04-13 19:11
0

dobra, chyba zrobiłem, jeżeli nie to będę pisał, dzięki

Pozostało 580 znaków

2015-04-20 18:38
0

Dobra, nie zrobiłem, próbowałem już na różne sposoby i nadal nic.

Komunikaty aplikacji z Qt Creatora


Uruchamianie zdalnego procesu.

Nie można uruchomić "org.qtproject.example.mk_5".
Uruchamianie zdalnego procesu.D/dalvikvm( 1880): Not late-enabling CheckJNI (already on)
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1880): GC_CONCURRENT freed 297K, 5% free 9214K/9607K, paused 11ms+11ms
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1880): GC_CONCURRENT freed 388K, 6% free 9225K/9735K, paused 9ms+17ms
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libgnustl_shared.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libgnustl_shared.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libgnustl_shared.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Core.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Core.so 0x412a0160
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Gui.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Gui.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Gui.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Network.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Network.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Network.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Qml.so 0x412a0160
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Qml.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Qml.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Quick.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Quick.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Quick.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Widgets.so 0x412a0160
I/dalvikvm( 1880): threadid=3: reacting to signal 3
I/dalvikvm( 1880): Wrote stack traces to '/data/anr/traces.txt'
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Widgets.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Widgets.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5Multimedia.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5Multimedia.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5Multimedia.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5QuickParticles.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5QuickParticles.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5QuickParticles.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so 0x412a0160
D/dalvikvm( 1880): Shared lib '/data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so' already loaded in same CL 0x412a0160
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x412a0160
I/Qt      ( 1880): qt start
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/bearer/libqandroidbearer.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5QuickParticles.so 0x412a0160
D/dalvikvm( 1880): Shared lib '/data/data/org.qtproject.example.mk_5/lib/libQt5QuickParticles.so' already loaded in same CL 0x412a0160
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/mediaservice/libqtmedia_android.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/qt-reserved-files/plugins/mediaservice/libqtmedia_android.so 0x412a0160
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so 0x412a0160
D/dalvikvm( 1880): Shared lib '/data/data/org.qtproject.example.mk_5/lib/libQt5MultimediaQuick_p.so' already loaded in same CL 0x412a0160
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libnative_camera_r4.0.3.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libnative_camera_r4.0.3.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libnative_camera_r4.0.3.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libopencv_info.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libopencv_info.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libopencv_info.so 0x412a0160, skipping init
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libopencv_java.so 0x412a0160
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libopencv_java.so 0x412a0160
W/System.err( 1880): java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
W/System.err( 1880):    at java.lang.Class.classForName(Native Method)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:100)
W/System.err( 1880):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1880):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1880):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1880):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1880):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1880):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1880):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1880):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1880):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1880):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1880):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1880): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/RippleDrawable
W/System.err( 1880):    ... 25 more
W/System.err( 1880): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.RippleDrawable
W/System.err( 1880):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1880):    ... 25 more
W/System.err( 1880): java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
W/System.err( 1880):    at java.lang.Class.classForName(Native Method)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:101)
W/System.err( 1880):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1880):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1880):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1880):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1880):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1880):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1880):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1880):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1880):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1880):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1880):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1880): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/AnimatedStateListDrawable
W/System.err( 1880):    ... 25 more
W/System.err( 1880): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.AnimatedStateListDrawable
W/System.err( 1880):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1880):    ... 25 more
W/System.err( 1880): java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawable
W/System.err( 1880):    at java.lang.Class.classForName(Native Method)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:217)
W/System.err( 1880):    at java.lang.Class.forName(Class.java:172)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.getClass(ExtractStyle.java:396)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:102)
W/System.err( 1880):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1880):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1880):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1880):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1880):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1880):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1880):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1880):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1880):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1880):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1880):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1880): Caused by: java.lang.NoClassDefFoundError: android/graphics/drawable/VectorDrawable
W/System.err( 1880):    ... 25 more
W/System.err( 1880): Caused by: java.lang.ClassNotFoundException: android.graphics.drawable.VectorDrawable
W/System.err( 1880):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err( 1880):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err( 1880):    ... 25 more
W/System.err( 1880): java.lang.NoSuchFieldException: View_paddingStart
W/System.err( 1880):    at java.lang.Class.getDeclaredField(Class.java:631)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:435)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:181)
W/System.err( 1880):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1880):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1880):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1880):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1880):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1880):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1880):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1880):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1880):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1880):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1880):    at dalvik.system.NativeStart.main(Native Method)
W/System.err( 1880): java.lang.NoSuchFieldException: View_paddingEnd
W/System.err( 1880):    at java.lang.Class.getDeclaredField(Class.java:631)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.getField(ExtractStyle.java:435)
W/System.err( 1880):    at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:182)
W/System.err( 1880):    at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
W/System.err( 1880):    at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
W/System.err( 1880):    at android.app.Activity.performCreate(Activity.java:4465)
W/System.err( 1880):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
W/System.err( 1880):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
W/System.err( 1880):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
W/System.err( 1880):    at android.app.ActivityThread.access$600(ActivityThread.java:123)
W/System.err( 1880):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
W/System.err( 1880):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1880):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1880):    at android.app.ActivityThread.main(ActivityThread.java:4424)
W/System.err( 1880):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1880):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err( 1880):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err( 1880):    at dalvik.system.NativeStart.main(Native Method)
W/ResourceType( 1880): Skipping entry 0x10804a5 in package table 0 because it is not complex!
D/dalvikvm( 1880): GC_CONCURRENT freed 432K, 6% free 9321K/9863K, paused 8ms+14ms
D/dalvikvm( 1880): GC_CONCURRENT freed 362K, 5% free 9447K/9927K, paused 10ms+8ms
D/dalvikvm( 1880): GC_CONCURRENT freed 487K, 6% free 9456K/10055K, paused 10ms+10ms
D/dalvikvm( 1880): GC_CONCURRENT freed 344K, 5% free 9607K/10055K, paused 9ms+9ms
D/dalvikvm( 1880): GC_CONCURRENT freed 485K, 6% free 9689K/10247K, paused 9ms+8ms
D/dalvikvm( 1880): GC_CONCURRENT freed 341K, 5% free 9811K/10311K, paused 19ms+18ms
D/dalvikvm( 1880): GC_CONCURRENT freed 459K, 6% free 9853K/10439K, paused 8ms+20ms
D/dalvikvm( 1880): GC_CONCURRENT freed 394K, 6% free 9887K/10439K, paused 8ms+8ms
D/dalvikvm( 1880): GC_CONCURRENT freed 438K, 6% free 9902K/10439K, paused 9ms+21ms
D/dalvikvm( 1880): GC_CONCURRENT freed 452K, 6% free 9936K/10503K, paused 9ms+10ms
D/dalvikvm( 1880): GC_CONCURRENT freed 406K, 5% free 10027K/10503K, paused 9ms+9ms
D/dalvikvm( 1880): GC_CONCURRENT freed 376K, 5% free 10117K/10631K, paused 9ms+8ms
D/dalvikvm( 1880): GC_CONCURRENT freed 468K, 6% free 10172K/10759K, paused 9ms+9ms
D/dalvikvm( 1880): GC_CONCURRENT freed 461K, 6% free 10173K/10759K, paused 11ms+11ms
D/dalvikvm( 1880): Trying to load lib /data/data/org.qtproject.example.mk_5/lib/libmk_5.so 0x412a0160
D/        ( 1880): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
D/dalvikvm( 1880): Added shared lib /data/data/org.qtproject.example.mk_5/lib/libmk_5.so 0x412a0160
D/dalvikvm( 1880): No JNI_OnLoad found in /data/data/org.qtproject.example.mk_5/lib/libmk_5.so 0x412a0160, skipping init
W/dalvikvm( 1880): Unable to resolve superclass of Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1; (141)
W/dalvikvm( 1880): Link of class 'Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;' failed
E/dalvikvm( 1880): Could not find class 'org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate$1', referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.<init>
W/dalvikvm( 1880): VFY: unable to resolve new-instance 301 (Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;) in Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate;
D/dalvikvm( 1880): VFY: replacing opcode 0x22 at 0x0012
I/dalvikvm( 1880): Could not find method android.view.accessibility.AccessibilityEvent.setSource, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getEventForVirtualViewId
W/dalvikvm( 1880): VFY: unable to resolve virtual method 366: Landroid/view/accessibility/AccessibilityEvent;.setSource (Landroid/view/View;I)V
D/dalvikvm( 1880): VFY: replacing opcode 0x6e at 0x0059
I/dalvikvm( 1880): Could not find method android.view.accessibility.AccessibilityNodeInfo.isVisibleToUser, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getNodeForView
W/dalvikvm( 1880): VFY: unable to resolve virtual method 378: Landroid/view/accessibility/AccessibilityNodeInfo;.isVisibleToUser ()Z
D/dalvikvm( 1880): VFY: replacing opcode 0x6e at 0x004a
I/dalvikvm( 1880): Could not find method android.view.accessibility.AccessibilityNodeInfo.setSource, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getNodeForVirtualViewId
W/dalvikvm( 1880): VFY: unable to resolve virtual method 388: Landroid/view/accessibility/AccessibilityNodeInfo;.setSource (Landroid/view/View;I)V
D/dalvikvm( 1880): VFY: replacing opcode 0x6e at 0x003d
W/dalvikvm( 1880): VFY: unable to find class referenced in signature (Landroid/view/accessibility/AccessibilityNodeProvider;)
W/dalvikvm( 1880): Unable to resolve superclass of Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1; (141)
W/dalvikvm( 1880): Link of class 'Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;' failed
D/dalvikvm( 1880): DexOpt: unable to opt direct call 0x041a at 0x14 in Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate;.<init>
W/Qt A11y ( 1880): Unknown exception: java.lang.reflect.InvocationTargetException
D/libEGL  ( 1880): loaded /system/lib/egl/libGLES_android.so
D/libEGL  ( 1880): loaded /system/lib/egl/libEGL_emulation.so
D/        ( 1880): HostConnection::get() New Host Connection established 0x10b7b8, tid 1880
D/libEGL  ( 1880): loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL  ( 1880): loaded /system/lib/egl/libGLESv2_emulation.so
D/        ( 1880): HostConnection::get() New Host Connection established 0x15bbe0, tid 1980
W/EGL_emulation( 1880): eglSurfaceAttrib not implemented
D/OpenGLRenderer( 1880): Enabling debug mode 0
E/cv::error()( 1880): OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /hdd2/buildbot/slaves/slave_ardbeg1/50-SDK/opencv/modules/highgui/src/window.cpp, line 483
F/libc    ( 1880): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

"org.qtproject.example.mk_5" zakończył pracę.

zawartość pliku .pro


TEMPLATE = app

QT += qml quick widgets
QT += network
QT += multimedia

SOURCES += main.cpp \
    tcp.cpp \
    opencv.cpp

RESOURCES += qml.qrc

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Default rules for deployment.
include(deployment.pri)

HEADERS += \
    tcp.h \
    opencv.h

INCLUDEPATH += "$$_PRO_FILE_PWD_/OpenCV-android-sdk/sdk/native/jni/include"
android {
    LIBS += \
        -L"$$_PRO_FILE_PWD_/OpenCV-android-sdk/sdk/native/3rdparty/libs/armeabi-v7a"\
        -L"$$_PRO_FILE_PWD_/OpenCV-android-sdk/sdk/native/libs/armeabi-v7a"\
        -llibtiff\
        -llibjpeg\
        -llibjasper\
        -llibpng\
        -lIlmImf\
        -ltbb\
        -lopencv_core\
        -lopencv_androidcamera\
        -lopencv_flann\
        -lopencv_imgproc\
        -lopencv_highgui\
        -lopencv_features2d\
        -lopencv_calib3d\
        -lopencv_ml\
        -lopencv_objdetect\
        -lopencv_video\
        -lopencv_contrib\
        -lopencv_photo\
        -lopencv_java\
        -lopencv_legacy\
        -lopencv_ocl\
        -lopencv_stitching\
        -lopencv_superres\
        -lopencv_ts\
        -lopencv_videostab

}

contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
    ANDROID_EXTRA_LIBS = \
        $$PWD/OpenCV-android-sdk/sdk/native/libs/armeabi-v7a/libnative_camera_r4.0.3.so \
        $$PWD/OpenCV-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_info.so \
        $$PWD/OpenCV-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_java.so
}

Pozostało 580 znaków

2015-05-11 12:59
0

Witam. Specjalnie zarejestrowałem sie aby z panem porozmawiać otóż ja też męczyłem sie z tym okolo 2-3 miesiące ale teoretycznie ostatnio mi załapało niech mi pan napisze na mail [email protected] to postaram sie pomóc może razem dojdziemy do definitywnego rozwiązania problemu OpenCv + qt + Android

Pozostało 580 znaków

Odpowiedz
Liczba odpowiedzi na stronę

1 użytkowników online, w tym zalogowanych: 0, gości: 1, botów: 0