[AC-5980] x86 support removed in Ti SDK 7.4.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-10-19T22:20:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | David Benko |
Assignee | Shak Hossain |
Created | 2018-10-17T23:10:31.000+0000 |
Updated | 2018-11-12T15:43:42.000+0000 |
Description
Just upgraded my app from Ti SDK 7.1.0.GA to SDK 7.4.0.GA and when I publish the app in Google Play I get a warning saying that x86 support is removed in the new APK and that OpenGL 2.0+ is now required (vs 1.0 before).
I compiled the app with minSdkVersion 16 and targetSdkVersion 26. Could not find anything about x86 support being removed in the sdk release notes. Is this intended?
Screenshot: https://imgur.com/a/EcdRleQ
Attachments
File | Date | Size |
---|---|---|
screencapture.png | 2018-10-17T23:09:18.000+0000 | 281043 |
[~davidbenko] x86 was removed in TIMOB-26006, you can add the below to your tiapp to include it again
Ewan Harris ok, thank you
Using
Is there a solution for using x86? or is this just not supported any longer ?
Getting the same error as David Benko above. We were using the x86 slice generated with our application apk in Titanium 7.1.0 to install the apk into x86 emulators and perform automated testing and this is causing us problems for our testing using Appium. Ewan Harris - is there something required when building Titanium 7.4.2 via scons that is required to reenable x86 support? I added the abi directive for Android but getting the "Invalid ABI x86" message as above. The application size has gone from 37mb under Titanium 7.1.0 to 31mb under 7.4.2 but we wanted that x86 slice... so it is smaller but the functionality is required for us.
Ok I figured out how to revert it - this line with "x86" in _build.js is removing it from production builds: {{ if (this.deployType === 'production') { // by default, remove 'x86' from production builds // 'x86' devices are scarce; this is predominantly used for emulators // we can save 16MB+ by removing this from release builds this.abis.splice(this.abis.indexOf('x86'), 1); }}} It is located here: $HOME/Library/Application\ Support/Titanium/mobilesdk/osx/7.4.2.GA/android/cli/commands/_build.js I also set the property of kroll.v8.build.x86 to 1:
Sorry for the time taken to realise this one folks, I've just filed TIMOB-26548 to fix this issue. If you watch that ticket you'll be able to see the PR with the changes so that you can apply them yourself if you wish [~narbs], looks like we got the conclusion at the same time! :)
Great! Thanks for the quick response. It will be a big help to other people needing this