Tuesday, February 25, 2014
java and android programmed to interact with each matlab
About java call matlab program has already achieved this morning, did an experiment, java can call m files, and run on android above error occurs that can not find this class (as in the java configuration example), why is it so?
android error message:
11-03 02:30:31.598: E / Trace (1463): error opening trace file: No such file or directory (2)
11-03 02:30:32.279: E / dalvikvm (1463): Could not find class 'operation.operation', referenced from method com.example.matlabtest.MainActivity $ 1.run
11-03 02:30:32.299: E / AndroidRuntime (1463): FATAL EXCEPTION: main
11-03 02:30:32.299: E / AndroidRuntime (1463): java.lang.VerifyError: com / example / matlabtest / MainActivity $ 1
11-03 02:30:32.299: E / AndroidRuntime (1463): at com.example.matlabtest.MainActivity.onCreate (MainActivity.java: 21)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.Activity.performCreate (Activity.java: 5104)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java: 1080)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.ActivityThread.performLaunchActivity (ActivityThread.java: 2144)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java: 2230)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.ActivityThread.access $ 600 (ActivityThread.java: 141)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.ActivityThread $ H.handleMessage (ActivityThread.java: 1234)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.os.Handler.dispatchMessage (Handler.java: 99)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.os.Looper.loop (Looper.java: 137)
11-03 02:30:32.299: E / AndroidRuntime (1463): at android.app.ActivityThread.main (ActivityThread.java: 5041)
11-03 02:30:32.299: E / AndroidRuntime (1463): at java.lang.reflect.Method.invokeNative (Native Method)
11-03 02:30:32.299: E / AndroidRuntime (1463): at java.lang.reflect.Method.invoke (Method.java: 511)
11-03 02:30:32.299: E / AndroidRuntime (1463): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 793)
11-03 02:30:32.299: E / AndroidRuntime (1463): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 560)
11-03 02:30:32.299: E / AndroidRuntime (1463): at dalvik.system.NativeStart.main (Native Method)
It is said that this class can not be found, it is still not resolved. . .
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Could not find class 'operation.operation' android projects in this class there is no?
If there is an error that is also compiled version mismatch caused.
No comments:
Post a Comment