"Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
Please check logcat output for more details."
Problem is: There is no output at all in the LogCat output. Further this is not about some Google Maps library, which most questions here on SO are about[1]: I'm trying to make use of my own library project.
my main project has following namespace: net.microtrash.cutoutcam
my library project has following namespaces, which I have referenced in the main app's manifest file:
<uses-library android:name="net.microtrash.lib" />
<uses-library android:name="net.microtrash.lib.button" />
<uses-library android:name="net.microtrash.cutoutcam.lib" />
Any ideas, why this error might happen?
[1] INSTALL_FAILED_MISSING_SHARED_LIBRARY error in Android
my library project has following namespaces, which I have referenced in the main app's manifest file:
Unless you built your own phone, or at least your own firmware, you do not have any of those libraries. You do not use <uses-library>
for Android library projects.
The only solution which I have discovered is that whenever non-compatible Emulator is used for running Maps related Application, this problem always occurs. Simple solution is to run application on Google API emulator.
I removed the <uses-library>
tag for google-play-services, but I had <uses-library>
tag for google maps as follows :
<uses-library android:name="com.google.android.maps"/>
It worked. Most answers in Stackoverflow are with respect to Google-Maps v1. But I had this problem in Google-Maps-v2 and this trick fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With