[TIMOB-28496] Android: Build fails on 64-bit Linux if 32-bit libraries not available
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-08-06T09:08:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 10.0.2 |
Components | Android |
Labels | adb, android, build |
Reporter | Michael Gangolf |
Assignee | Joshua Quick |
Created | 2021-06-20T15:42:55.000+0000 |
Updated | 2021-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
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.
PR (node-titanium-sdk): https://github.com/appcelerator/node-titanium-sdk/pull/442
This will be included in https://github.com/appcelerator/titanium_mobile/pull/12985 as it updates node-titanium-sdk
Merged to master and 10_0_X