Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28496] Android: Build fails on 64-bit Linux if 32-bit libraries not available

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2021-08-06T09:08:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 10.0.2
ComponentsAndroid
Labelsadb, android, build
ReporterMichael Gangolf
AssigneeJoshua Quick
Created2021-06-20T15:42:55.000+0000
Updated2021-08-06T09:08:37.000+0000

Description

There was a glibc update for Fedora today (version 2.33-18) and suddenly the 32bit error was occuring when I've compiled an app {quote} Error: 32-bit libraries is not installed. Without the 32-bit libraries, the Android SDK will not work properly. {quote} All these variables are false now: https://github.com/appcelerator/node-titanium-sdk/blob/6cf5094107bcaed0b79793bccc2ef5b09865bc05/lib/android.js#L410-L413 I've remove the whole check in https://github.com/appcelerator/node-titanium-sdk/blob/6cf5094107bcaed0b79793bccc2ef5b09865bc05/lib/adb.js#L489-L493 and it compiled fine and compiling to device and emulator still works. So the question is if the 32bit check is still valid for the current Android tools. Titanium SDK 10.0.0.GA Device: Pixel 4, Android 11 Emulator: Android 11

Comments

  1. Joshua Quick 2021-06-25

    Thanks for binging this up [~michael]. This code was written back in 2013 (see [TIMOB-13520]) back when the Android SDK was 32-bit only. That's no longer the case and it doesn't make sense to require 32-bit libraries anymore.
  2. Joshua Quick 2021-06-25

    PR (node-titanium-sdk): https://github.com/appcelerator/node-titanium-sdk/pull/442
  3. Ewan Harris 2021-08-03

    This will be included in https://github.com/appcelerator/titanium_mobile/pull/12985 as it updates node-titanium-sdk
  4. Ewan Harris 2021-08-06

    Merged to master and 10_0_X

JSON Source