I'm not sure why after the code below (in red) is executed it raised an error .
1.Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
EMDKResults results = EMDKManager.getEMDKManager(mContext, new Motorola());
public class Motorola implements EMDKManager.EMDKListener {
private String profileName = "DataCaptureProfile";
private ProfileManager mProfileManager = null;
private EMDKManager emdkManager = null;
@Override
public void onOpened(EMDKManager emdkManager) {
}
@Override
public void onClosed() {
}
}
I'm getting this error "Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected imple...// Expert user has replied. |
1 Replies
Which EMDK version are you using and on which device/BSP?
Have you followed the steps included in the EMDK tutorial:
If you've forgotten to include the EMDK permission in the AndroidManifest.xml, you can see the behaviour you're experiencing.
~Pietro