1 Reply Latest reply on Aug 4, 2017 7:28 AM by BHAKTA RANJAN SATAPATHY

    RuntimeException: stub - EMDKManager.getEMDKManager(Unknown Source)

    Son Dang

      Hey, I just started code an Android app to connect to the MZ-220 printer via Bluetooth and I got this error

      java.lang.RuntimeException: stub

                                                                                           at com.symbol.emdk.EMDKManager.getEMDKManager(Unknown Source)

                                                                                           at com.symbol.devtalks_scanandpair.Main2Activity.start(Main2Activity.java:26)

                                                                                           at com.symbol.devtalks_scanandpair.Main2Activity$1.onClick(Main2Activity.java:20)

                                                                                           at android.view.View.performClick(View.java:4438)

                                                                                           at android.view.View$PerformClick.run(View.java:18422)

                                                                                           at android.os.Handler.handleCallback(Handler.java:733)

                                                                                           at android.os.Handler.dispatchMessage(Handler.java:95)

                                                                                           at android.os.Looper.loop(Looper.java:136)

                                                                                           at android.app.ActivityThread.main(ActivityThread.java:5017)

                                                                                           at java.lang.reflect.Method.invokeNative(Native Method)

                                                                                           at java.lang.reflect.Method.invoke(Method.java:515)

                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

                                                                                           at dalvik.system.NativeStart.main(Native Method)

      I tried very ways but still didn't work

      - compile project(':com.symbol.emdk')     :RuntimeException: stub

      - compileSdkVersion 'Symbol Technologies LLC:EMDK APIs:23'    :Didn't find class "com.symbol.emdk.EMDKManager$EMDKListener" on path: DexPathList[[zip file "/data/app/com.symbol.scanandpairsample1-1/base.apk"],nativeLibraryDirectories=[/data/app/com.symbol.scanandpairsample1-1/lib/arm64, /system/lib64, /vendor/lib64]

      - <uses-library android:name="com.symbol.emdk"/>     :NSTALL_FAILED_MISSING_SHARED_LIBRARY

       

      Currently, I am using the latest Android version and EMDK 6.4

      Hope someone knows this.