I am developing application in eclipse. I am getting the error of INSTALL_FAILED_MISSING_SHARED_LIBRARY in console while installing the application to Motorola ET1N2 device. How can i resolve it. I am just run the sample code for MSR.
INSTALL_FAILED_MISSING_SHARED_LIBRARY// Expert user has replied. |
3 Replies
The EMDK for Android is not supported on ET1 devices. If you have written a common application and this app wants to use the EMDK featured on supported devices, but want to use other apps other functionality on ET1, then you can specify this in your manifest file:
This tells the android that install the application independent of whether the library exists or not. But when you try to use the EMDK related features on unsupported, it will throw exception at the runtime. SO need to carefully design your application to achieve that.
Hi! I apologize in advance for hijacking the thread, but my problem is related. I recently acquired a Motorola TC55 on which I am trying to run the Data Capture Profile Feature Tutorial app. My problem is that if I have the line in my manifest file, the app will not deploy and I get the same error as the OP. If I leave it out the app deploys, but fails when I try to run it, I get a runtime exception E/AndroidRuntime(5000): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.symbol.emdksample/com.symbol.emdksample.MainActivity}: java.lang.ClassNotFoundException: com.symbol.emdksample.MainActivity. The only solution I have found on these pages is to run the Device Runtime Deployment, which I have done a number of times already. It would seem that it is not completing the installation. My device is pretty much right out of the box, I've not installed anything on it before this and the only settings I've touched is time/ date and wifi.
What am I doing wrong?
Thank you.
Edit: I have activated usb debugging on the device.
Amit, could you post your sample code and a section of the log contains this error. Does your Manifest contain any "uses-library" statements?
Your error commonly happens when trying to use Google GMS API's on the ET1 or other devices that do not have Google Mobile Services.