[TIMOB-16439] CLI: Android: Add support for debugging Android apps in a Genymotion emulator
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-04-01T19:56:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2014 Sprint 07, 2014 Sprint 07 Tooling, Release 3.3.0 |
Components | CLI |
Labels | genymotion, qe-closed-3.3.0, qe-testadded, studio |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-02-10T23:01:17.000+0000 |
Updated | 2014-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.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5565
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
[~oromero] I wouldn't be concerned with those error messages. Those aren't Titanium specific.
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