Naga Rameshwar
- Forum posts: 1
Mar 21, 2013, 8:35:26 AM via Website
Mar 21, 2013 8:35:26 AM via Website
i am developing an android based app in OpenCV when i build the code in eclipse i don't get any errors but when i run it it just says "unfortunately ocv t3 add native opencv has stopped" and stops here is what i get in the Log cat. Please help me ASAP because im in need of it in urgent.
03-18 05:06:50.408: E/dalvikvm(1074): Could not find class 'org.opencv.face.Sample3Native$1', referenced from method org.opencv.face.Sample3Native.<init>
03-18 05:06:50.848: E/AndroidRuntime(1074): FATAL EXCEPTION: main
03-18 05:06:50.848: E/AndroidRuntime(1074): java.lang.NoClassDefFoundError: org.opencv.face.Sample3Native$1
03-18 05:06:50.848: E/AndroidRuntime(1074): at org.opencv.face.Sample3Native.<init>(Sample3Native.java:70)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.Class.newInstanceImpl(Native Method)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.Class.newInstance(Class.java:1319)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.access$600(ActivityThread.java:141)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.os.Handler.dispatchMessage(Handler.java:99)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.os.Looper.loop(Looper.java:137)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.main(ActivityThread.java:5039)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.reflect.Method.invokeNative(Native Method)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.reflect.Method.invoke(Method.java:511)
03-18 05:06:50.848: E/AndroidRuntime(1074): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
03-18 05:06:50.848: E/AndroidRuntime(1074): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
03-18 05:06:50.848: E/AndroidRuntime(1074): at dalvik.system.NativeStart.main(Native Method)
And hey what are these warnings?
Description Resource Path Location Type
Invalid project path: Include path not found (D:\New Folder\sdk\native\jni\include). MainActivity pathentry Path Entry Problem
Invalid project path: Include path not found (\sources\cxx-stl\gnu-libstdc++\include). MainActivity pathentry Path Entry Problem
Invalid project path: Include path not found (\platforms\android-9\arch-arm\usr\include). MainActivity pathentry Path Entry Problem
I tried to Ignore them Could these be the Problem?? If yes How to Correct them?? Somebody Help me
03-18 05:06:50.408: E/dalvikvm(1074): Could not find class 'org.opencv.face.Sample3Native$1', referenced from method org.opencv.face.Sample3Native.<init>
03-18 05:06:50.848: E/AndroidRuntime(1074): FATAL EXCEPTION: main
03-18 05:06:50.848: E/AndroidRuntime(1074): java.lang.NoClassDefFoundError: org.opencv.face.Sample3Native$1
03-18 05:06:50.848: E/AndroidRuntime(1074): at org.opencv.face.Sample3Native.<init>(Sample3Native.java:70)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.Class.newInstanceImpl(Native Method)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.Class.newInstance(Class.java:1319)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.access$600(ActivityThread.java:141)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.os.Handler.dispatchMessage(Handler.java:99)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.os.Looper.loop(Looper.java:137)
03-18 05:06:50.848: E/AndroidRuntime(1074): at android.app.ActivityThread.main(ActivityThread.java:5039)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.reflect.Method.invokeNative(Native Method)
03-18 05:06:50.848: E/AndroidRuntime(1074): at java.lang.reflect.Method.invoke(Method.java:511)
03-18 05:06:50.848: E/AndroidRuntime(1074): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
03-18 05:06:50.848: E/AndroidRuntime(1074): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
03-18 05:06:50.848: E/AndroidRuntime(1074): at dalvik.system.NativeStart.main(Native Method)
And hey what are these warnings?
Description Resource Path Location Type
Invalid project path: Include path not found (D:\New Folder\sdk\native\jni\include). MainActivity pathentry Path Entry Problem
Invalid project path: Include path not found (\sources\cxx-stl\gnu-libstdc++\include). MainActivity pathentry Path Entry Problem
Invalid project path: Include path not found (\platforms\android-9\arch-arm\usr\include). MainActivity pathentry Path Entry Problem
I tried to Ignore them Could these be the Problem?? If yes How to Correct them?? Somebody Help me
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.