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

Support Android Studio 3.1 #16215

Closed
2 tasks
mravn-google opened this issue Apr 4, 2018 · 8 comments
Closed
2 tasks

Support Android Studio 3.1 #16215

mravn-google opened this issue Apr 4, 2018 · 8 comments
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@mravn-google
Copy link
Contributor

mravn-google commented Apr 4, 2018

Android Studio 3.1 was released on March 26.

  • Upgrade project templates to use Android Studio Gradle plugin version 3.1.2 and Gradle version 4.4
  • Update documentation on how to open a plugin project for editing in Android Studio (importing the example/android/build.gradle file no longer works)
@mravn-google
Copy link
Contributor Author

mravn-google commented Apr 4, 2018

@mit @Hixie @devoncarew Upgrading the project templates means they stop working in Android Studio 3.0.1. Not upgrading means (at least) users will be met with a dialog saying

To take advantage of all the latest features (such as Instant Run), improvements and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.1.2 and Gradle to version 4.4.

upon opening the android/ folder of a Flutter project in Android Studio 3.1. It appears that accepting to update works.

@mravn-google
Copy link
Contributor Author

mravn-google commented Apr 4, 2018

It appears that one can open a plugin project by just opening the example/android folder with AS 3.1.
It further appears that after accepting to update the Gradle stuff, the example project (and the plugin) works.

@devoncarew
Copy link
Member

/cc @stevemessick

@zoechi
Copy link
Contributor

zoechi commented Aug 3, 2018

Is there still something to do? Seems to work fine and I am not aware of related bug reports.

@stevemessick
Copy link
Member

Flutter projects should use Gradle version 4.4. Until they do users are hit with a confusing message (see above). Opening the android folder works fine, as mentioned, and the IDE has support for that.

@zoechi
Copy link
Contributor

zoechi commented Sep 1, 2018

Is this still an issue?

@zoechi zoechi added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 1, 2018
@devoncarew
Copy link
Member

I think this is addressed.

@github-actions
Copy link

github-actions bot commented Sep 2, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

4 participants