Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14793] Android: With fastdev set "true" in tiapp.xml and a fastdev server running, device builds will hang on splash until network request timeout

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-28T23:51:08.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-noTestNeeded
ReporterEric Merriman
AssigneeHieu Pham
Created2013-08-09T04:01:44.000+0000
Updated2014-11-19T23:36:26.000+0000

Description

Description:

When a developer launches an Android emulator, unless they disable fastdev, a fastdev server will start for the project. If that project's tiapp.xml has the fastdev property and it's set to "true", subsequent builds for device will seem to hang on the splash screen until the fastdev network request times out. According to Hieu, this is caused by the tiapp.xml property being evaluated by the SDK despite the fact that Studio ignores this setting for device builds.

Steps to reproduce:

1) Create an android project 2) Set the tiapp.xml property: true 3) Run the project in the emulator 4) Verify fastdev server start 5) Run the project on device

Result:

The app launches, and sits on the splash screen until the network request times out.

Expected Result:

Fastdev setting has no affect on device builds

Comments

  1. Hieu Pham 2013-08-28

    master PR: https://github.com/appcelerator/titanium_mobile/pull/4623
  2. Federico Casali 2013-09-14

    Correctly run enabling fastdev and following the steps in the description. 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 Tested using a Google Nexus Galaxy 4.2.2
  3. 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 Device - Nexus 7 (v4.3) Emulator - Google APIs(Android 4.3) Result - Followed the steps mentioned in the issue and build happen successfully on device. Tested on Linux as well as Windows OS. Hence closing this issue.

JSON Source