[TIMOB-25268] Android: modules built using sdk 7 trigger runtime error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2017-09-13T10:45:27.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 7.0.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Feon Sua Xin Miao |
| Assignee | Eric Merriman |
| Created | 2017-09-13T05:52:38.000+0000 |
| Updated | 2017-09-13T10:45:27.000+0000 |
Description
*Reproduce Step*
1. create a module project
2. build and use the module, appc run -p android
3. following error appears in the log
[ERROR] TiExceptionHandler: (main) [100,100] ----- Titanium Javascript Runtime Error -----
[ERROR] TiExceptionHandler: (main) [0,100] - In com.test.mod/bootstrap.js:28,7
[ERROR] TiExceptionHandler: (main) [0,100] - Message: Uncaught SyntaxError: Unexpected token =
[ERROR] TiExceptionHandler: (main) [0,100] - Source: var = lazyGet(this, "com.test.mod.Samplemod7Module", "", "");
[ERROR] V8Exception: Exception occurred at com.test.mod/bootstrap.js:28: Uncaught SyntaxError: Unexpected token =
[~ybanev], thanks!