Replies: 6 comments
-
Beta Was this translation helpful? Give feedback.
-
First things first, the focus here is Android Studio & Bazel. For plain JVM or other languages, we are in good hands (whether it’s the master branch or the new BSP plugin). Every company I’m aware of has a fork of ASWB, which is far from ideal. The main reason for this, as Mai stated, is the challenge of getting external contributions merged into ASWB. The way I see it, we have the following options:
The 1st and 2nd options seem the most viable in the long term. For the 1st option, some questions arise:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for kicking this off Mai and great write up Idan! I think the general problem is that ASwB support/experience got worse (not better as originally was advertised) for the external community with the shift to Google branch and then AOSP project. So the main question we need answer is how can we make it better? From Idan's proposal, option 1 is the ideal case for the external community. |
Beta Was this translation helpful? Give feedback.
-
One concern I've regarding option 1 is that we do not have someone with experience in AS among the current maintainers of the master branch. So fixing issues and even reviewing the users PRs can be challenging. |
Beta Was this translation helpful? Give feedback.
-
Thanks @idanakav for the write-up, and my apologies for the delay in response here. For quite a long time, I had an idea similar to option (1) in mind, but so far, there has been no interest from the community in joining the maintenance for Android Studio. So, we just discussed with @tpasternak whether we could find an Android Studio version maintainer and see if it could move forward. On the other hand, speaking from JetBrains' perspective, there’s no request to maintain the aswb version here, and in #7224, we partially removed some aswb-related files. However, we were still looking forward to receiving changes from AOSP, and in #6965, we closed the gap by cherry-picking hundreds of commits. I also just submitted #7262, which documents part of the cherry-pick process from AOSP, as requested several times in SIG meetings. So let me answer questions as they appear.
Last week, @LeFrosch and I had a call with @idanakav, and we proposed that it might be worth trying to bring some I also set up Regarding other options, I’d say everything is doable—even forking this repo, removing non-aswb-related files, and using the same tool (see #7262) to receive updates from AOSP. |
Beta Was this translation helpful? Give feedback.
-
(1) So far I have been picking aswb changes too, to reduce merge conflicts in future. But I have never even tried to build the aswb part and there might be incompatibilities with our state of base or java. I agree with @ujohnny, that we want to spend as little time as possible on AOSP picks. Since the plugins are basically hard forks at this point, there might be a point in time where they diverged too much for us to continue picking changes. (2) With regards to compatibility, we can always introduce a dedicated sdkcompat folder in aswb, but I would like to keep base only compatible with a couple of latest versions (2-3). But overall it’s hard for me to comment on that matter, since I have no idea what platform versions android studio targets and how up to date it is. |
Beta Was this translation helpful? Give feedback.
-
The README describes the current state of the locations of Android Studio and IntelliJ/CLion plugins source code and how changes are shared between them.
In the plugin SIG meetings, the request for a way to accept more community contributions in the Android Studio plugin was brought up multiple times. Currently, these contributions are looked at on a case-by-case basis, which is not scalable. We are opening this discussion to talk more about the possible options we have to improve this.
Beta Was this translation helpful? Give feedback.
All reactions