IllegalAccessError when try getEMDKManager

// Expert user has replied.
U Uliana Akopyan 3 years 7 months ago
10 1 0

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:
And
 
 
I tried to first write my application, but the result is the same mistake. The development environment Eclipse. Can you help solve this problem?

Please Register or Login to post a reply

1 Replies

R Robert Galvin

Have you installed the EMDK Device OS Update

CONTACT
Can’t find what you’re looking for?