[TIMOB-2843] platformId null when starting in emulator in 1.6
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T02:00:13.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.6.0 M06 |
| Components | Android |
| Labels | android, bug, emulator, id, platform, release-1.6.0 |
| Reporter | Opie Cyrus |
| Assignee | Opie Cyrus |
| Created | 2011-04-15T03:30:56.000+0000 |
| Updated | 2011-04-17T02:00:13.000+0000 |
Description
An error occurs when starting app under 1.6 where the platformId returned by the system is null. Only reproduced in drillbit currently.
(from [dd89e13b188b81a178e7a10387b99c28f371b117]) [#2843 state:fixed-in-qa] add in handling if platformId returned by system is null https://github.com/appcelerator/titanium_mobile/commit/dd89e13b188b81a178e7a10387b99c28f371b117"> https://github.com/appcelerator/titanium_mobile/commit/dd89e13b188b...
If running in drillbit in order to reproduce, look for the following log output which will show that the null ID has been replaced by the fix.
"I/Log ( 695): (main) [1,1] checkpoint, app created. I/TiApplication( 695): (main) [277,278] Titanium 1.6.0 (2011/01/17 11:47 d1f301)
D/TiApplication( 695): (main) [7,285] Application onCreate
D/dalvikvm( 695): GC freed 3073 objects / 333088 bytes in 99ms
E/TiPlatformHelper( 695): (main) [270,555] platformId is null, setting to empty string"
verified in 1.6 emulator w/ drillbit