Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18349] Android: Unable to run KitchenSink on Genymotion emulators

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-05-02T20:39:40.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsAndroid, CLI
Labelsqe-3.5.0
ReporterVisalakshi Chidambaram
AssigneeEric Merriman
Created2014-12-23T08:33:58.000+0000
Updated2017-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.

Comments

  1. Lokesh Choudhary 2014-12-29

    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:
       [WARN] :   Detected Titanium.Map.createView() call which requires Google APIs, however the selected emulator "Google Nexus 5 - 4.4.4 - API 19 - 1080x1920" may or may not support Google APIs
       [WARN] :   If the emulator does not support Google APIs, the Titanium.Map.createView() call will fail
       [WARN] :   You should use, or create, an Android emulator that does support Google APIs
       
    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
  2. Praveen Innamuri 2015-01-09

    [~ingo] Should we improve the error log messages here to indicate about the missing Google API ?
  3. Ingo Muschenetz 2015-01-09

    [~pinnamuri] yes, if at all possible.
  4. Tim Poulsen 2015-01-20

    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.
  5. Lee Morris 2017-05-02

    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.

JSON Source