Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15827] Android: WebView: Getting ABI 'x86' error while using 3rd party module

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-12-09T10:37:03.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 25, 2013 Sprint 25 Core, Release 3.2.0, Release 3.3.0
ComponentsAndroid, CLI
Labelsmodule_android, qe-3.2.0, qe-testadded
ReporterParas Mishra
AssigneeChris Barber
Created2013-11-26T10:42:06.000+0000
Updated2014-03-21T23:34:31.000+0000

Description

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"

Attachments

FileDateSize
Webview_timob6489.zip2013-11-26T10:42:06.000+00002362637

Comments

  1. Lokesh Choudhary 2013-11-26

    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
  2. Lokesh Choudhary 2013-11-26

    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".
  3. Ingo Muschenetz 2013-11-26

    As a workaround, add
       <android><abi>armeabi,armeabi-v7a</abi></android>
       
    in the tiapp.xml to prevent building for x86.
  4. Chris Barber 2013-11-28

    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.
  5. Ingo Muschenetz 2013-12-03

    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.
  6. Allen Yeung 2013-12-03

    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
  7. Allen Yeung 2013-12-05

    Fixed by adding warning
  8. Paras Mishra 2013-12-09

    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
  9. Paras Mishra 2013-12-09

    reopening to edit comment
  10. Paras Mishra 2013-12-09

    closing after updating comment

JSON Source