[TIMOB-6166] Android: Tooling: tiapp.xml - Bad ti.android.runtime value throws an exception when launching to Android emulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2013-08-01T01:04:43.000+0000 |
Affected Version/s | Release 1.8.0.1, Release 3.0.0 |
Fix Version/s | Sprint 2012-03 |
Components | Android |
Labels | core, module_simulator, qe-S20111114, qe-testadded |
Reporter | Wilson Luu |
Assignee | Ingo Muschenetz |
Created | 2011-11-14T12:19:31.000+0000 |
Updated | 2013-08-13T22:30:28.000+0000 |
Description
1. Create a new TiMob project
2. Navigate to TiApp Editor
3. Next, click on the tiapp.xml tab
4. Find the ti.android.runtime property and change the value to any value e.g. dsdif, dfj d234, $$^#@#$ etc
5. Save changes
6. Right-click on project and go to Run As > Android Emulator
Result: Build exception is thrown. See attachment.
Expected: Should be able to launch Android emulator and install to Android device even with bad Android property value
Note: Same exception occurs when installing to Galaxy Tab 10.1, sdk 3.1
Tested on Ti Studio 1.0.7.201112080131 Ti Mob SDK 1.8.0.1.v20111209102124 OSX Lion Android emulator 2.2 Expected behavior of application not crashing with bad runtime property is shown
Open to add label
Expected Error when running on emulator: [ERROR] invalid runtime "$$^#@#$o" requested, must be 'v8' or 'rhino' When Running on Device Still get this error: [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1.v20120124200134/android/builder.py", line 2045, in
This should be fixed in both master and 1_8_X branches. Can you please verify against a recent CI build.
Tested with 1.9.0.v20120202083136 on Mac 10.6.8
This still occurs in SDK 2.1 when you use this tag:
SDK: 2.1.0.v20120621132259 OS: Snow Leopard Studio: 2.1.0.201206200844 Devices Tested: Android Emulator 2.3.3
We no longer support the Rhino runtime and only support the v8 runtime, thus ti.android.runtime is no longer needed.
closing as won't fix