Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-26079] Continue build on invalid Android library ABI #10084

Merged
merged 10 commits into from Jun 30, 2018

Conversation

janvennemann
Copy link
Contributor

JIRA: https://jira.appcelerator.org/browse/TIMOB-26079

Optional Description:
This aligns the handling of invalid ABIs for native libraries from Android .aar files to be the same as in the other stages of creating the APK archive.

@cb1kenobi I had to remove the override for console.error because that caused all our debug and warn messages to not show up. I'm sure you had your reason to temporarily override it. Do you remember why and if there is a better way to do this nowadays? The comment said something about to many event listeners but i couldn't see anything when testing this.

@build
Copy link
Contributor

build commented Jun 2, 2018

Messages
📖

👍 Hey!, You deleted more code than you added. That's awesome!

📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@cb1kenobi
Copy link
Contributor

As the comment describes, we use the archiver package to create the .apk (zip format) files. When the Android build was first written, it used archiver@0.4.10 and that version would write to stderr without a way to prevent it. Now, the titanium_mobile master branch references archiver@2.1.0 and it's likely the silencing of console.error() is no longer necessary.

Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR'd and looks good.

@hansemannn hansemannn added this to the 7.4.0 milestone Jun 4, 2018
Copy link
Contributor

@sgtcoolguy sgtcoolguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (except that straggler debug log to be removed)

store: store
});
entryNames.push(entry.entryName);
this.logger.debug('test3');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this straggler debug log, please

@build
Copy link
Contributor

build commented Jun 14, 2018

Messages
📖

👍 Hey!, You deleted more code than you added. That's awesome!

📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@hansemannn hansemannn merged commit 77f6361 into tidev:master Jun 30, 2018
@hansemannn hansemannn modified the milestones: 7.4.0, 7.5.0 Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants