Friday, February 17, 2012

Android Emulator - Pentesting - Encountered Errors

The "INSTALL_FAILED_MISSING_SHARED_LIBRARY" is a very common problem which is encountered normally in day to day operations. This error is legitimately thrown by the android emulator when a new application is forced to install for testing purposes.

This error is an outcome of inappropriate selection of Android API or Google API. The application might require either of the API's. If your Android Virtual Device (AVD) is build to use one of it , you are going to face this problem.

For example: let's have a look at this emulator

and now we want to install, anti toolkit on it which results in following error

The next step, we tried this -

The result is as expected

Always provide appropriate partition size for AVD to avoid any stringency while testing.


sub said...

Thanks for this info. This is really helpful to avoid error message during setup.

But in my case i am still view below mesage:
"C:\Documents and Settings\427200\Local Settings\Application Data\Android\android
-sdk\tools>emulator -avd anti -partition-size 120

C:\Documents and Settings\427200\Local Settings\Application Data\Android\android
-sdk\tools>Failed to create Context 0x3005
emulator: WARNING: Could not initialize OpenglES emulation, using software rende
emulator: emulator window was out of view and was recentered"

Any idea or help how to resolve this?
Thanks in advance