Skip to content

Simplify the new project wizard for AS 4.2+ #5044

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

Merged
merged 2 commits into from
Nov 12, 2020
Merged

Conversation

stevemessick
Copy link
Member

For Android Studio 4.2 and later, change the new project wizard to this:

Screen Shot 2020-11-12 at 1 12 39 PM

This includes one goal for this quarter: adding a link on the first page of the wizard that points to the installation docs.

FlutterNewProjectAction.replaceModuleBuilders() (and restoreModuleBuilders()) does some tricky stuff with reflection. This could break, and our fallback is to simply stop using those methods. That would make the wizard look like it does in IntelliJ. There should be no changes to the IntelliJ wizard, although almost all the code is shared.

Android Studio has always highlighted the help message for the selected project type, so I found a way to do that here, too.

FlutterNewProjectAction.java_stub is the previous version of FlutterNewProjectAction, which is required for AS 4.1 (see the change in product-matrix.json).

FYI @devoncarew @pq

@stevemessick stevemessick merged commit d944106 into master Nov 12, 2020
@stevemessick stevemessick deleted the simplify-npw branch November 12, 2020 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants