GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-09T10:37:03.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 25, 2013 Sprint 25 Core, Release 3.2.0, Release 3.3.0 |
Components | Android, CLI |
Labels | module_android, qe-3.2.0, qe-testadded |
Reporter | Paras Mishra |
Assignee | Chris Barber |
Created | 2013-11-26T10:42:06.000+0000 |
Updated | 2014-03-21T23:34:31.000+0000 |
Android: WebView: Getting ABI 'x86' error while using 3rd party module
It works fine on SDK: 3.1.3.GA
Steps to reproduce:
1. Run the Attached app.
Expected:
Application should not crash and a red square should be displayed as well as a label with the text "hello world".
Actual:
Unable to build. Error is logged as
"[ERROR] : The module "ti.sample" does not support the ABI: "x86"
[ERROR] : It only supports the following ABIs: armeabi, armeabi-v7a
[ERROR] Application Installer abnormal process termination. Process exit value was 1"
Verified & I am able to reproduce the issue on: 1.)Nexus 7 running android 4.3 2.)Nexus 5 running android 4.4 3.)Samsung Galaxy S4 running android 4.2.2 I get same error as mentioned above in description. Environment: Appcel Studio : 3.2.0.201311221207 Ti SDK : 3.2.0.v20131122172908 Mac OSX : 10.8.5 Alloy : 1.3.0-alpha6 CLI - 3.2.0-alpha
Tested this issue with 3.1.2.GA CLI & 3.1.3.GA SDK & did not get any errors. The app launched as expected & saw a red square should be displayed as well as a label with the text "hello world".
As a workaround, add
in the tiapp.xml to prevent building for x86.
The error message you are receiving is by design. You can no longer build an Android app that targets ARM and x86 without all modules also supporting ARM and x86.
The current solution is to move from a ERROR to a WARNING letting them know if they install this to a x86 device, it will not work.
PRs to change the errors to warnings: Master: https://github.com/appcelerator/titanium_mobile/pull/5061 3_2_X: https://github.com/appcelerator/titanium_mobile/pull/5062
Fixed by adding warning
Getting the warning as " [WARN] : The module ti.sample does not support the ABI: x86 [WARN] : It only supports the following ABIs: armeabi, armeabi-v7a [WARN] : Your application will most likely encounter issues" Verified fix on: Device : Google Nexus 7, Android Version: 4.2.1 SDK: 3.2.0.v20131208204843 CLI version : 3.2.0-beta OS : MAC OSX 10.9 Alloy: 1.3.0-beta ACS: 1.0.10 Appcelerator Studio, build: 3.2.0.201312081316 titanium-code-processor: 1.1.0-beta XCode : 5.0.2
reopening to edit comment
closing after updating comment