I'm getting this error "Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected imple...

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() {

 

 

        }

    }