Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16439] CLI: Android: Add support for debugging Android apps in a Genymotion emulator

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-04-01T19:56:50.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 07, 2014 Sprint 07 Tooling, Release 3.3.0
ComponentsCLI
Labelsgenymotion, qe-closed-3.3.0, qe-testadded, studio
ReporterChris Barber
AssigneeChris Barber
Created2014-02-10T23:01:17.000+0000
Updated2014-08-01T07:40:53.000+0000

Description

As of Titanium SDK 3.2.0, the Android build supports Genymotion emulators, however debugging apps in the Genymotion emulator is not working. This may be solvable by simply changing line 1344 of android/cli/commands/_build.js from:
} else if (!emu.sdcard) {
to
} else if (!emu.sdcard && (emu.type !== 'genymotion')) {
Here's the originating Q&A question: http://developer.appcelerator.com/question/162337/genymotion-and-debug-mode.

Comments

  1. Chris Barber 2014-04-01

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5565
  2. Olga Romero 2014-04-30

    I tested the default classic project and was able to debug an Android app in a Genimotion emulator, using: Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.3.0.201404291930 Titanium SDK, build: 3.3.0.v20140429122517 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.4.0-dev ├── npm@1.3.2 ├── titanium@3.3.0-dev └── titanium-code-processor@1.1.1-beta1 However, there is some errors in the console http://stackoverflow.com/questions/22010483/getting-max-texture-size-from-gradiencache-greendao-android
       [ERROR] :  E/        : UID 10060 asks for /proc/cpuinfo
       [ERROR] :  E/        : Unable to open file /data/data/.appwithABI2
       [ERROR] :  E/        : Unable to open file /data/data/.appwithABI2neon
       [ERROR] :  E/        : UID 10060 is not in ARM UID list files
       [WARN] :   EGL_genymotion: eglSurfaceAttrib not implemented
       [ERROR] :  OpenGLRenderer: Getting MAX_TEXTURE_SIZE from GradienCache
       [ERROR] :  OpenGLRenderer: MAX_TEXTURE_SIZE: 16384
       [ERROR] :  OpenGLRenderer: Getting MAX_TEXTURE_SIZE from
       
  3. Chris Barber 2014-05-06

    [~oromero] I wouldn't be concerned with those error messages. Those aren't Titanium specific.
  4. Olga Romero 2014-05-06

    Closing per [~cbarber] comment Tested and ran Genymotion emulator. Environment: Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.3.0.201405011408 Titanium SDK, build: 3.3.0.v20140505115416 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-dev npm@1.3.2 titanium@3.3.0-dev titanium-code-processor@1.1.1

JSON Source