Search code examples
androidflutterflutter-dependenciesflutter-packages

Flutter: Open android module in Android Studio for package


After forking a Flutter package from GitHub, and try to edit it, then when I click "Open Android module in Android Studio" it opens /example/android instead of /android folder! enter image description here

Q: How to open /android folder of a package for editing?

Edit: steps I did

Step 1 Step 1

Step 2 Step 2

Step 3 Step 3


Solution

  • It would open both example/android/ & android/ folders. Look carefully in the project pane.

    I created a new Flutter Plugin Project and did Open Android module in Android Studio. Here is how it looks: app/ is from example/android/ & test_plugin/ is from android/.

    enter image description here