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

Conversation

@matanlurey
Copy link
Contributor

Closes flutter/flutter#141043.

Nothing in this change should impact:

  • End-user apps
  • Testing and/or CI

I've added what I believe is the minimum required to get a reasonable Android Studio experience with the shell/platform/android folder. More could definitely be done, but this unblocks me (i.e. flutter/flutter#139702) and adds instructions for the next person.

I'm open to suggestions on how to improve this further, but unless they are critical, I'd rather land this as-is and review your PRs tweaking my documentation further (I have limited time to work exclusively on docs).


Example after this:

image

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@matanlurey
Copy link
Contributor Author

Only failure is the licensing bot, which I'll fix up before submitting.

@matanlurey
Copy link
Contributor Author

/cc @johnmccutchan as well.

@matanlurey
Copy link
Contributor Author

@dnfield and/or @jason-simmons - I'd love a quick sniff-test that none of the changes break your mental model.

Thanks!

Copy link
Member

@jason-simmons jason-simmons left a comment

Choose a reason for hiding this comment

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

LGTM

dependencies {
implementation 'androidx.annotation:annotation-jvm:1.7.1'
}

Copy link
Member

Choose a reason for hiding this comment

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

Remove the empty line here

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 9, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 9, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jan 9, 2024

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

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 9, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jan 9, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jan 9, 2024

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

@matanlurey matanlurey merged commit 8c1501f into flutter:main Jan 9, 2024
@matanlurey matanlurey deleted the engine-android-devsdk branch January 9, 2024 22:01
zijiehe-google-com pushed a commit to zijiehe-google-com/engine that referenced this pull request Jan 9, 2024
…utter#49612)

Closes flutter/flutter#141043.

Nothing in this change should impact:

- End-user apps
- Testing and/or CI

I've added what I believe is the minimum required to get a reasonable
Android Studio experience with the `shell/platform/android` folder. More
could definitely be done, but this unblocks me (i.e.
flutter/flutter#139702) and adds instructions
for the next person.

_I'm open to suggestions on how to improve this further, but unless they
are critical, I'd rather land this as-is and review your PRs tweaking my
documentation further (I have limited time to work exclusively on
docs)._

---

Example after this:


![image](https://github.com/flutter/engine/assets/168174/97dfd46b-b617-4bb5-9144-0802d88e2864)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 9, 2024
}

dependencies {
implementation 'androidx.annotation:annotation-jvm:1.7.1'
Copy link
Member

Choose a reason for hiding this comment

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

Late to the party here, but did you add this to resolve androidx.annotation... imports? I tried following the README from this PR, and it works for all imports except the androidx ones. Also, this version should probably match the one in files.json, right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lack of documented way to work on the Android embedder with Android Studio

4 participants