Error of Matlab Java Library In Eclipse For Android ( In MCRFactory Class)
2 views (last 30 days)
Show older comments
Hello
I have a function in matlab and I want to use it in my android application so I compile it for java and add the jar file to Eclipse and add the javabuilder.jar to Eclipse too but when I want to run that It is force close and I see these error in logcat.
what am I doing???
please help me!
FATAL EXCEPTION: main
java.lang.VerifyError: com/mathworks/toolbox/javabuilder/internal/MWMCR
at myFFT2.MyFFT2MCRFactory.newInstance(MyFFT2MCRFactory.java:49)
at myFFT2.MyFFT2MCRFactory.newInstance(MyFFT2MCRFactory.java:60)
at myFFT2.Class1.<init>(Class1.java:63)
at mahdavi.ali.app.fft2.FFTActivity.onCreate(FFTActivity.java:27)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Thanks ☺
0 Comments
Answers (0)
See Also
Categories
Find more on Setup and Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!