Who did the modbus communication under the android
My hand code can only be run in Eclipse, not transplanted into android end,
$adb shell am start - n "com. Example. Myapplication/com. Example. Myapplication. MainActivity" - a android. Intent. Action. The MAIN - c android. Intent. The category. The LAUNCHER
6898 on device Connected to the process 'd58 xiaomi - mi_one_plus - 50805'.
Capturing and displaying logcat messages from the application. This behaviors can be disabled in the "logcat output" section of the "Debugger" Settings page.
E/Trace: error opening Trace file: No to the file or directory (2)
D/ActivityThread: setTargetHeapUtilization: 0.25
SetTargetHeapIdealFree: 8388608
SetTargetHeapConcurrentStart: 2097152
W/dalvikvm: VFY: unable to resolve virtual method 410: Landroid/content/Context; GetSystemService (Ljava/lang/Class) Ljava/lang/Object;
W/dalvikvm: VFY: unable to resolve interface method 2163: Landroid/view/Window $Callback; . OnPointerCaptureChanged (Z) V
VFY: unable to resolve interface method 2165: Landroid/view/Window $Callback; OnProvideKeyboardShortcuts (Ljava/util/List; Landroid/view/Menu; I) V
VFY: unable to find the class referenced in signature (Landroid/view/SearchEvent;)
VFY: unable to resolve interface method 2167: Landroid/view/Window $Callback; OnSearchRequested (Landroid/view/SearchEvent;) Z
VFY: unable to resolve interface method 2171: Landroid/view/Window $Callback; OnWindowStartingActionMode (Landroid/view/ActionMode $Callback; I) Landroid/view/ActionMode;
VFY: unable to resolve virtual method 610: Landroid/content/res/TypedArray; . GetChangingConfigurations () I
W/dalvikvm: VFY: unable to resolve virtual method 632: Landroid/content/res/TypedArray; .gettype (I) I
W/dalvikvm: VFY: unable to resolve virtual method 381: Landroid/content/Context; Landroid createDeviceProtectedStorageContext ()/content/Context;
VFY: unable to resolve virtual method 388: Landroid/content/Context; GetCodeCacheDir () Ljava/IO/File;
W/dalvikvm: VFY: unable to resolve virtual method 389: Landroid/content/Context; The getColor (I) I
VFY: unable to resolve virtual method 390: Landroid/content/Context; Landroid. GetColorStateList (I)/content/res/ColorStateList;
VFY: unable to resolve virtual method 392: Landroid/content/Context; GetDataDir () Ljava/IO/File;
VFY: unable to resolve virtual method 393: Landroid/content/Context; GetDrawable (I) Landroid/graphics/drawable/drawable;
VFY: unable to resolve virtual method 395: Landroid/content/Context; [getExternalCacheDirs () Ljava/IO/File;
VFY: unable to resolve virtual method 397: Landroid/content/Context; GetExternalFilesDirs (Ljava/lang/String;) [Ljava/IO/File;
VFY: unable to resolve virtual method 401: Landroid/content/Context; GetNoBackupFilesDir () Ljava/IO/File;
VFY: unable to resolve virtual method 403: Landroid/content/Context; [getObbDirs () Ljava/IO/File;
VFY: unable to resolve virtual method 410: Landroid/content/Context; GetSystemService (Ljava/lang/Class) Ljava/lang/Object;
VFY: unable to resolve virtual method 412: Landroid/content/Context; GetSystemServiceName (Ljava/lang/Class) Ljava/lang/String;
VFY: unable to resolve virtual method 415: Landroid/content/Context; IsDeviceProtectedStorage (Z)
VFY: unable to resolve virtual method 430: Landroid/content/Context; StartForegroundService (Landroid/content/Intent;) Landroid/content/the ComponentName;
W/dalvikvm: VFY: unable to resolve virtual method 4394: Landroidx/appcompat/view/ContextThemeWrapper; CreateConfigurationContext (Landroid/content/res/Configuration) Landroid/content/Context;
W/dalvikvm: VFY: unable to resolve virtual method 2672: Landroid/widget/FrameLayout; StartActionModeForChild (Landroid/view/view; Landroid/view/ActionMode $Callback; I) Landroid/view/ActionMode;
VFY: unable to find the class referenced in signature (Landroid/graphics/Outline;)
VFY: unable to resolve virtual method 935: Landroid/graphics/drawable/drawable; GetOutline (Landroid/graphics/Outline;) V
VFY: unable to resolve virtual method 935: Landroid/graphics/drawable/drawable; GetOutline (Landroid/graphics/Outline;) V
VFY: unable to resolve virtual method 1736: Landroid/view/view; AddKeyboardNavigationClusters (Ljava/util/Collection; I) V
W/dalvikvm: the Link of the class 'Landroidx/core/view/ViewCompat $OnUnhandledKeyEventListenerWrapper; 'failed
E/dalvikvm: Could not find the class 'androidx. Core. The ViewCompat $OnUnhandledKeyEventListenerWrapper', referenced from method androidx. Core. The ViewCompat. AddOnUnhandledKeyEventListener
W/dalvikvm: VFY: unable to resolve the new 1397 - instance (Landroidx/core/view/ViewCompat $OnUnhandledKeyEventListenerWrapper;) In Landroidx/core/view/ViewCompat;
VFY: unable to resolve virtual method 1744: Landroid/view/view; CancelDragAndDrop (V)
E/dalvikvm: Could not find the class 'android. View. WindowInsets', referenced from method androidx. Core. The ViewCompat. DispatchApplyWindowInsets
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull