App works on TC51 but not on MC40

Hi All,


I have an app that used to work on TC51 and MC40. Then i added barcode scanner feature using EMDK.


I am able to install the new app on TC51 and it runs flawlessly. But on MC40, i am able to install but unable to launch it.


When i launch my app, i see the "App not installed." screen (attached for your reference)


My TC51 is running 6.0.1 Android OS and has EMDK service on it.


My MC40 is running 4.1 and does not have EMDK service on it. Could that be a reason why?


My Manifest file says:

   android:targetSdkVersion="23" />


My module's build.gradle says:


android {

  compileSdkVersion 26
   buildToolsVersion '26.0.2'

   useLibrary 'org.apache.http.legacy'
   defaultConfig {

  applicationId ""
   minSdkVersion 14
   targetSdkVersion 23
   versionCode 10
   versionName "2.0.5"

   // Enabling multidex support.
   multiDexEnabled true


If you have any clue as to how i can get the app working on my MC40 as well, that would be great.