[TIMOB-2682] Android: 2.3, Crash on load of test case "logging and unicode"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-09-26T17:05:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.2.0 |
Components | Android |
Labels | and, android, crash, defect, logging, reported-1.5.1, unicode |
Reporter | Thomas Huelbert |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:26:53.000+0000 |
Updated | 2017-03-20T22:30:18.000+0000 |
Description
1.5.1 + hvga skinned 2.3 emulator, not seen on < 2.3 emulators
Crash on load of test case "logging and unicode"
Base UI > Views > web views > logging and unicode
results: crash
http://pastie.org/1408932">http://pastie.org/1408932
The 2.3 emulator has a known defect that means we can't use our Java <-> JS bridge (meaning any KS WebView tests will fail in the emulator). I tested this on my Nexus S and it looks fine, for any WebView tests we'll just have to use device only for now until Google gives us a fixed emulator. Android 2.3 Emulator / WebView bug: http://code.google.com/p/android/issues/detail?id=12987
[~ingo] this error is still occurring with webviews on the 2.3.3 emulator, making any app running webviews reliable during testing. While the previous advice was just to avoid usage of the 2.3.3 emulator, as of TiSDK 3.1.1 the 2.3.3 Android SDK is the minimum version, so developers are extremely likely to run into the problem with higher frequency. We should revisit the issue to see if we can find an adequate workaround for the issue or this will occur much more often.
FWIW, it looks like recent posts in the google developer discussions that Marshall listed have some workarounds.
Is it instead possible that we bump the version of the default emulator rather than fixing this via a workaround?
[~ingo] To what? At that point you are either bumping to 3.0, which is for tablets, or to 4.X, and those emulators (in my experience) take _a lot_ longer to load and are going to make for an even less appealing development experience.
Marking this as a duplicate of TIMOB-14947.
Closing ticket as duplicate.