Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@gmackall
Copy link
Member

@gmackall gmackall commented Mar 19, 2024

Add additional logging for this error, because there are still no local reproduction cases.

related to flutter/flutter#144291

follow up to #50247

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@gmackall gmackall marked this pull request as ready for review March 19, 2024 21:57
@gmackall gmackall requested a review from johnmccutchan March 19, 2024 21:57
// cpu architecture.

String cpuArch = System.getProperty("os.arch");
String[] nativeLibs = new File(flutterApplicationInfo.nativeLibraryDir).list();
Copy link
Contributor

Choose a reason for hiding this comment

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

should you filter this list down to just files that end with .so or change the message below on line 208?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll change the message to the following files (I suppose I was assuming only .so files end up there because thats all I saw when I tested it, but that is probably a bad assumption)

@gmackall gmackall requested a review from johnmccutchan March 19, 2024 22:18
@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 20, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 20, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Mar 20, 2024

auto label is removed for flutter/engine/51534, due to - The status or check suite Mac mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 20, 2024
+ " for more detail.\n"
+ "App is using cpu architecture: "
+ cpuArch
+ ", and the native libraries directory contains the following files: "
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you include the native library directory path in this message? Or if the files in nativeLibs are absolute paths that no need to do that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't see this before the merge, sorry. The files aren't shown as absolute paths, I'll put up a quick follow up to print the path too

@auto-submit auto-submit bot merged commit 1b52f57 into flutter:main Mar 20, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants