[TIMOB-18349] Android: Unable to run KitchenSink on Genymotion emulators
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-05-02T20:39:40.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | Android, CLI |
Labels | qe-3.5.0 |
Reporter | Visalakshi Chidambaram |
Assignee | Eric Merriman |
Created | 2014-12-23T08:33:58.000+0000 |
Updated | 2017-05-02T20:39:40.000+0000 |
Description
This is not a regression as it is reproducible with titanium sdk 3.4.1
Steps to reproduce:
1. Import kitchen sink sample and set the appropriate sdk version
2. Run the app on genymotion emulator
Actual Results:
2.The following error occurs
[ERROR] : Error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
Expected Results:
2. App should successfully install and launch on to the emulator.
Note: Kitchen sink sample app can be successfully run on iOS simulator, device and android device.
This is an expected behaviour. 1. Kitchensink requires google API's like map etc which are not available in genymotion emulators as it a 3rd party emulator. We can see studio warns us regarding this:
2. As for android emulator (non genymotion), created using android AVD manager using an image having google API's, KS will run fine. If its created with a non google API image, KS will fail with the "INSTALL_FAILED_MISSING_SHARED_LIBRARY" error. Environment: Appc Studio : 3.4.1.201410281743 Ti SDK : 3.5.0.v20141222103320 CLI : 3.4.1 Alloy : 1.5.1 GA Code Processor : 1.1.1 MAC Yosemite : 10.10 Android emulator : 4.4.2_ARM (using google API image), 5.0.1_ARM(using non google API image) Genymotion Emulator - Nexus 5 running 4.4.4
[~ingo] Should we improve the error log messages here to indicate about the missing Google API ?
[~pinnamuri] yes, if at all possible.
The error message comes from the underlying Android SDK and can arise whenever a library is missing. Most times, Ti developers would see this related to the Play Services features -- maps, store integration, push, etc. Whatever improved error message we output should not be specifically worded to relate to maps.
Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.