Ask Your Question
1

OpenCV app doesnt work since Manager Update

asked 2013-07-04 04:08:05 -0500

Hi I'm working on an app wich is working perfectly before i've updated library with opencv manager. Since this update, nothing work, mainactivity is freezing at :

OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_6, this, OpenCVLoaderCallback)

by freezing i mean eternal loop like i see in logcat :

07-04 10:51:40.239: I/MainActivity(2173): onResume Trying to load OpenCV library
07-04 10:51:40.259: I/ActivityManager(1854): Start proc org.opencv.engine:OpenCVEngineProcess for service org.opencv.engine/.OpenCVEngineService: pid=2202 uid=10088 gids={}
07-04 10:51:40.309: I/dalvikvm(2202): Turning on JNI app bug workarounds for target SDK version 9...
07-04 10:51:40.399: I/libblt_hw(1479): Library opened (handle = 5, fd = 26)
07-04 10:51:40.419: I/libblt_hw(1479): Library closed (handle = 0, fd = 23)
07-04 10:51:40.429: I/ActivityManager(1854): Start proc com.google.android.gms for broadcast com.google.android.gms/.games.receiver.GamesSystemBroadcastReceiver: pid=2216 uid=10046 gids={3003, 1015, 1007, 1006, 2001, 3006}
07-04 10:51:40.439: D/libEGL(2173): loaded /system/lib/egl/libGLES_android.so
07-04 10:51:40.469: I/ActivityManager(1854): No longer want com.noshufou.android.su (pid 2056): hidden #4
07-04 10:51:40.479: D/libEGL(2173): loaded /system/lib/egl/libEGL_mali.so
07-04 10:51:40.499: D/libEGL(2173): loaded /system/lib/egl/libGLESv1_CM_mali.so
07-04 10:51:40.509: D/libEGL(2173): loaded /system/lib/egl/libGLESv2_mali.so
07-04 10:51:40.519: D/Finsky(2117): [1] 2.run: Loaded library for account: [CS69CzvXSh-O6MOZsBi97pb4rDU]
07-04 10:51:40.519: D/Finsky(2117): [1] 2.run: Finished loading 1 libraries.
07-04 10:51:40.529: D/dalvikvm(1480): GC_EXPLICIT freed 37K, 74% free 2204K/8323K, paused 1ms+6ms
07-04 10:51:40.589: I/OpenCVEngine/Service(2202): Service starting
07-04 10:51:40.589: I/OpenCVEngine/Service(2202): Engine binder component creating
07-04 10:51:40.589: D/dalvikvm(2202): Trying to load lib /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20
07-04 10:51:40.589: D/dalvikvm(1480): GC_EXPLICIT freed <1K, 74% free 2204K/8323K, paused 3ms+2ms
07-04 10:51:40.619: D/OpenCVEngine(2202): Using ARM HW detector
07-04 10:51:40.629: D/dalvikvm(2202): Added shared lib /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(2202): No JNI_OnLoad found in /data/data/org.opencv.engine/lib/libOpenCVEngine.so 0x40d74a20, skipping init
07-04 10:51:40.629: D/dalvikvm(2202): Trying to load lib /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(1480): GC_EXPLICIT freed <1K, 74% free 2204K/8323K, paused 3ms+6ms
07-04 10:51:40.629: D/dalvikvm(2202): Added shared lib /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20
07-04 10:51:40.629: D/dalvikvm(2202): No JNI_OnLoad found in /data/data/org.opencv.engine/lib/libOpenCVEngine_jni.so 0x40d74a20, skipping init
07-04 10:51:40.629: D/OpenCVEngine/JNI(2202): Java_org_opencv_engine_BinderConnector_Init
07-04 ...
(more)
edit retag flag offensive close merge delete

Comments

Are you sure the android opencv manager is already upgraded to the 2.4.6 version?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-04 07:35:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-05 02:54:37 -0500

Kirill Kornyakov gravatar image

updated 2013-07-05 08:55:10 -0500

This is a known issue: http://www.code.opencv.org/issues/3124 . Will be fixed ASAP, both OpenCV Manager at Google Play and OpenCV for Android SDK at Sourceforge will be updated.

edit flag offensive delete link more

Comments

1

New packages were uploaded to Google Play, should be available in a couple of hours. New SDK will be published a bit later.

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2013-07-05 08:54:30 -0500 )edit
2
1

Everything working well now since updating Manager. Thank you ! Not tried the sdk-r2 for the moment

Pascal66 gravatar imagePascal66 ( 2013-07-05 11:41:47 -0500 )edit

Nothing work again since update to manager 2.11 this morning.

Pascal66 gravatar imagePascal66 ( 2013-09-20 03:01:55 -0500 )edit

Try to force stop your app and start it again. What is your device and Android version?

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-09-20 04:55:02 -0500 )edit

I can't start OpenCV Manager (2.11) Sony Xperia with Android 4.0.4. Desinstalled and reinstalled. still freeze with just the title. When i lauchn an app, eclipse say : OpenCV Library - 2.4.6] Could not find OpenCV Library - 2.4.6.apk!

Pascal66 gravatar imagePascal66 ( 2013-09-21 02:11:59 -0500 )edit

Worked again with new install of eclipse, new install of 2.4.6r2 sdk and a manual install of manager 2.9 I'm stupid to havent used r2. I'ts really fast.

Pascal66 gravatar imagePascal66 ( 2013-09-21 18:37:30 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-07-04 04:08:05 -0500

Seen: 962 times

Last updated: Jul 05 '13