[TIMOB-6201] Android: V8 shared libraries need to be packaged in ARM specific lib folders
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-10T10:46:14.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-46, Release 1.8.0.1 |
Components | Android |
Labels | branch-v8, module_build, qe-testadded, verified-1.8.0.1 |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-11-16T09:51:41.000+0000 |
Updated | 2012-01-10T10:46:14.000+0000 |
Description
Right now we have two shared libraries in V8: libkroll-v8-device.so (for armeabi v7) and libkroll-v8-emulator.so (for armeabi v5). We need to move to using the ARM ABI specific folders in our packaging so apps can be correctly distributed to end users.
Right now, some Froyo and above devices have ARM v5 chips (such as Bill's LG-P509), and the libkroll-v8-device.so library won't work for them.
Fix for this is included in 6186
There are a few things to look for when testing this: * Build any Titanium application w/ the V8 runtime, and list the APK contents. You should see two entries for libkroll-v8.so, one for
libs/armeabi
, and another forlibs/armeabi-v7a
:* Run this app on the Nook Color emulator, and it should work as expected. Before, our "device" vs "emulator" library check would fail, and choose the "device" library, causing a hard crash on Nook Color emulator. This fix uses the built-in Android ABI detection to avoid the problem altogether. TIMOB-6136 can also be resolved when this is resolved
Fixed by marshall as part of TIMOB-6312. I tested a V8 app on my LG phone that marshall mentions. Works great. As Marshall notes above, another test is the Nook Color Emulator (which makes this a duplicate of TIMOB-6136).
Tested with Studio 1.0.7.201112152014 Ti Mob SDK 1.8.0.1.RC3 OSX Lion Nook Emulator, Packaged app Verified that a packaged app's .apk contains the expected output, and also ran on Nook Emulator
Added Label: qe-testadded