Description
As raised in AC-5980, it's not possible to specify x86 as an abi to produce during a production build. The build errors with the below. This is because of bad logic [here](
https://github.com/appcelerator/titanium_mobile/blob/7_4_X/android/cli/commands/_build.js#L1270) where we always remove x86 from production builds. We should allow users to use it if they want.
[ERROR] Invalid ABI "x86"
Valid ABIs:
arm64-v8a
armeabi-v7a
Steps to reproduce
1. Add the below to the android section of your tiapp
<abi>armeabi-v7a,arm64-v8a,x86</abi>
2. Build for
dist-playstore
Actual
Build errors with the above
Expected
Build should not error, x86 should be allowed if a user wants it
PR: https://github.com/appcelerator/titanium_mobile/pull/10458
7_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/10460
FR Passed. PR's merged.
Verified the fix in SDK 8.0.0.v20181113150129 & 7.5.0.v20181113143835. Closing.