[TIMOB-19406] Android: Building default classic app with SDK 5.0.0.v20150825082243 throws runtime error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-28T18:43:10.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-5.0.0, regression |
Reporter | Lokesh Choudhary |
Assignee | Ashraf Abu |
Created | 2015-08-25T18:51:34.000+0000 |
Updated | 2015-08-28T20:58:20.000+0000 |
Description
*This is a regression. Don't see this issue with 5.0.0.v20150824091229.*
Description:
1. Create a default classic app with SDK 5.0.0.v20150825082243. 2. Build for device/emulator. 3. Let the app launch.Actual Results:
1. After launch the app throws runtime error:
[ERROR] : TiExceptionHandler: (main) [895,895] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,895] - In undefined:1,1
[ERROR] : TiExceptionHandler: (main) [0,895] - Message: Uncaught SyntaxError: Unexpected token
[ERROR] : TiExceptionHandler: (main) [0,895] - Source: ������������QËnà ü½Öc7.·JýVéCª"´28ªbùß»8òrÕγ#täײ¢0
$ø
2. This issue is reproducible from appc CLI as well.
3. Attached screenshot for reference.
Expected Results:
1. The app should build successfully with no runtime errors.Attachments
File | Date | Size |
---|---|---|
Screen Shot 2015-08-25 at 11.03.22 AM.png | 2015-08-25T18:51:53.000+0000 | 58774 |
[~msamah], take a look?
I am able to reproduce this.
PR: https://github.com/appcelerator/titanium_mobile/pull/7077
Verified the fix. The classic app does not throw runtime error. Closing. Environment: Appc Studio : 5.0.0.201508251028 Ti SDK : 5.0.0.v20150828131240 Ti CLI : 4.1.5 Alloy : 1.7.6 MAC Yosemite : 10.10.4 Appc NPM : 4.1.0-2 Appc CLI : 5.0.0-27 Node: v0.10.37 Nexus 5 - Android 5.1.1 Node : v0.10.37