IllegalAccessError when try getEMDKManager

Hello! Unable to run the test application «ProfileAppMgrSample1» of Sample EMDK 3.1.

When called

EMDKResults results = EMDKManager.getEMDKManager (getApplicationContext (), this);

get error:

Class resolved by unexpected DEX: Lcom/symbol/profiledatacapturesample1/MainActivity0x41582ac8):0x5a0bf000 ref [Lcom/symbol/emdk/EMDKManager$EMDKListener;] Lcom/symbol/emdk/EMDKManager$EMDKListener0x41582ac8):0x5a0b6000 (Lcom/symbol/profiledatacapturesample1/MainActivity; had used a different Lcom/symbol/emdk/EMDKManager$EMDKListener; during pre-verification) W/dalvikvm(2612): Link of class 'Lcom/symbol/profiledatacapturesample1/MainActivity;' failed W/dalvikvm(2612): threadid=1: thread exiting with uncaught exception (group=0x40c00438) E/AndroidRuntime(2612): FATAL EXCEPTION: main E/AndroidRuntime(2612): java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation E/AndroidRuntime(2612):  at dalvik.system.DexFile.defineClass(Native Method)

In Manifest:

<uses-permission android:name="com.symbol.emdk.permission.EMDK"/>

And

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

 

 

I tried to first write my application, but the result is the same mistake. The development environment Eclipse. Can you help solve this problem?

Robert Galvin
Have you installed the EMDK

Have you installed the EMDK Device OS Update

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments