[TIMOB-14769] Android: When FastDev is enabled, emulators from SDKs 4.1 and greater will crash
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-28T20:50:59.000+0000 |
Affected Version/s | Release 3.1.2 |
Fix Version/s | 2013 Sprint 18, 2013 Sprint 18 API, Release 3.1.3, Release 3.2.0 |
Components | Android |
Labels | qe-3.1.2, qe-nfc, qe-noTestNeeded |
Reporter | Dhirendra Jha |
Assignee | Hieu Pham |
Created | 2013-08-06T10:43:46.000+0000 |
Updated | 2014-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
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.
master PR: https://github.com/appcelerator/titanium_mobile/pull/4565
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
master PR: https://github.com/appcelerator/titanium_mobile/pull/4614
3.1.X branch: https://github.com/appcelerator/titanium_mobile/pull/4620
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
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.