When I try to execute the .apk file I get the following error *install_failed_missing_shared_library*.
-
2yeah! right you should not remove your original question contents,plz just add updates – swiftBoy Dec 13 '12 at 08:14
2 Answers
in your command prompt cd to the path of the adb (navigate to your SDK's platform-tools/ directory) and then execute the command
adb -d install path/to/your/app.apk
ex:
adb -d install C:/Users/users2/Desktop/adt-bundle-windows-x86/sdk/tools/my.apk
check http://developer.android.com/tools/building/building-cmdline.html#RunningOnDevice

- 15,883
- 5
- 59
- 72
-
Hi now i am getting the following error when i try to execute the .apk file i get the following error install_failed_missing_shared_library. – user1844638 Dec 13 '12 at 08:02
-
1check http://stackoverflow.com/questions/10757116/android-install-failed-missing-shared-library – Nermeen Dec 13 '12 at 08:05
You need to add adb folder to environment variable or use script like below
goto there -> cd C:/ Users/users2\Desktop\adt-bundle-windows-x86\sdk\tools.
C:/ Users/users2\Desktop\adt-bundle-windows-x86\sdk\tools\ when you are in the folder
C:.....your sdk folde...\platform-tools\adb install fileName.apk
To get past INSTALL_FAILED_MISSING_SHARED_LIBRARY error with Google Maps for Android:
1) Install Google map APIs. This can be done in Eclispe Windows/Android SDK and AVD Manager -> Available Packages -> Third Party Add-ons -> Google Inc. -> Google APIs by Google Inc., Android API X
2) From command line create new AVD. This can be done by listing targets (android list targets), then android create avd -n new_avd_api_233 -t "Google Inc.:Google APIs:X"
3) Then create AVD in Eclipse Windows/Android SDK and AVD Manager -> New... -> (Name: new_avd_X, Target: Google APIs (Google Inc.) - API Level X)
4) Create Android Project in Eclipse File/New/Android Project and select Google APIs Build Target.
5) add < uses-library android:name="com.google.android.maps" /> between < application> < /application> tags.
5) Run Project as Android Application.
If error persists, then you still have problems, if it works, then this error is forever behind you.

- 12,673
- 5
- 49
- 68
-
1Now i am getting the following error when i try to execute the .apk file i get the following error install_failed_missing_shared_library – user1844638 Dec 13 '12 at 08:02
-
1Thank you i am installing the api now and ill get back to you if any problems. – user1844638 Dec 13 '12 at 08:28
-
1i am not able to create the new avd. Tell me how to list the targets also please. – user1844638 Dec 13 '12 at 08:49
-
1i already have the .apk file why do i need to create a new project and please explain what add between tags mean. – user1844638 Dec 13 '12 at 11:09
-
1hi @talhakosen can you help me correct these errors. http://stackoverflow.com/questions/13854091/chart-no-plotting – user1844638 Dec 14 '12 at 05:24
-
1