Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14242] Android: x86 libs not included in production APK

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-10-16T20:24:26.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroid, androidbuild, ay-verified, cb-verified, core, defect
ReporterCesana Lorenzo
AssigneeChris Barber
Created2013-06-14T09:31:20.000+0000
Updated2017-03-20T22:34:19.000+0000

Description

I was going to upload my app to the Google play store when I saw that x86 native SDK libraries were not included in the APK (libkroll-v8.so, libtiverify.so, libtiprofiler.so, libstlport_shared.so). I noticed these lines in builder.py (lines from 1696): {quote} if abi == 'x86' and ((not os.path.exists(lib_source_dir)) or self.deploy_type == 'production'):

x86 only in non-production builds for now.

continue {quote} and removing them did the trick. It is normal behaviour not to including that libraries in production releases or it is a mistake? And if it is normal what is the reason? Way to reproduce: - Use the feature "Distribute - Android App Store" - Open the created APK with some zip reader - Navigate in lib/x86 - No native libraries included

Comments

  1. Romain Salles 2013-06-24

    Same issue for us ! It's really annoying since a part of our audience can't open our app. Why have you implemented this condition removing x86 from production app (and not test) ? Is it safe to comment these lines ? Thanks in advance for your answer
  2. Ygor Lemos 2013-09-24

    Is this being worked on??? Lots of Motorola Razr i users angry towards one of my mainstream apps :)
  3. Chris Barber 2013-09-24

    [~ygbr] I'll be working on this in the next couple weeks and will be available in Titanium SDK 3.2.0.
  4. Allen Yeung 2013-10-16

  5. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source