Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14769] Android: When FastDev is enabled, emulators from SDKs 4.1 and greater will crash

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-28T20:50:59.000+0000
Affected Version/sRelease 3.1.2
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0
ComponentsAndroid
Labelsqe-3.1.2, qe-nfc, qe-noTestNeeded
ReporterDhirendra Jha
AssigneeHieu Pham
Created2013-08-06T10:43:46.000+0000
Updated2014-11-19T23:37:36.000+0000

Description

Description:

When fastdev is enabled, emulators for 4.1, 4.2, or 4.3 Android SDK will crash. This is potentially a side effect of a pull request (4474).

Steps to reproduce:

1) Create a new project using a 3.1.2 SDK post pull 4474 (after July 23rd) 2) Launch in 4.1 or later emulator (4.1 - 4.3 currently)

Result:

If on appcelerator Studio, your emulator will hang. If on Titanium studio, your emulator will crash

Expected Result:

No crash, the emulator functions as expected.

Attachments

FileDateSize
DDMSlog.txt2013-08-06T10:43:46.000+000038144
device.png2013-08-06T10:43:46.000+000052714
StudioConsole.txt2013-08-06T10:43:46.000+000053967

Comments

  1. Hieu Pham 2013-08-09

    Testing steps: 1. Run any project with 4.1, 4.2, 4.3 emulators. Make sure fastdev is NOT disable (i.e: via ti.android.fastdev property) 2. Should see a crash in titanium studio. Expected behavior: 1. App should run without crash.
  2. Hieu Pham 2013-08-09

    master PR: https://github.com/appcelerator/titanium_mobile/pull/4565
  3. Olga Romero 2013-08-09

    Tested and verified this issue with: Appcelerator Studio: , build: 3.1.2.201308082014 Titanium SDK, build: 3.1.2.v20130808180613 CLI: 3.1.2-alpha Alloy: 1.2.0-alpha6 Emulator Android API: Google APIs(Android 4.1.2) freezes on a splashscreen. Google APIs(Android 2.3.3; 3.2; 4.0;4.2;4.3) launch app with no crash
  4. Hieu Pham 2013-08-28

    master PR: https://github.com/appcelerator/titanium_mobile/pull/4614
  5. Hieu Pham 2013-08-28

    3.1.X branch: https://github.com/appcelerator/titanium_mobile/pull/4620
  6. Federico Casali 2013-09-14

    Correctly run enabling fastdev and using 4.1.2 and 4.2.2 Android Emulators on Max Os X TiSDK 3.1.3.v20130913121549 TiStudio 3.1.3.201309132456 CLI 3.1.2.GA Alloy 1.2.2-cr Mac OS X 10.8.4
  7. Dhirendra Jha 2013-09-14

    Environments - Appcelerator Studio:3.1.3.201309132456 SDK:3.1.3.v20130913160104 Alloy:1.2.2-cr acs: 1.0.6 titanium:3.1.2 titanium-code-processor:1.0.2 OS: Ubuntu 12.04, Windows 8 Android Emulators: Google APIs(Android 4.1;4.2;4.3) Result - Emulators works fine when FastDev is enabled. Tested on Linux as well as Windows platforms. Hence closing this issue.

JSON Source