esu
esu

Reputation: 2450

Gradle window in missing in android studio for my flutter project

The gradle window is missing in the android studio for my flutter project but it is available for my Kotlin project.

enter image description here

I have to generate the signing certificate SHA-1 to register my app in Firebase.

Upvotes: 7

Views: 9866

Answers (2)

dertom
dertom

Reputation: 970

The problem for Android Studio is that the android(gradle)-project is not top-level. You can right-click on project- or android-folder, select Flutter->'Open Android module in Android Studio' . enter image description here After that the gradle-tab appears on the right and you can use it as intended.

Upvotes: 2

Lucas Aschenbach
Lucas Aschenbach

Reputation: 970

Here is how you find the gradle section in Android Studio for a Flutter-Project:

  1. Open the build.gradle file in app/src/
  2. There should appear a small bar at the top of the code-editor and click Open for Editing in Android Studio

Android Studio

  1. A new window will open, showing the option for opening the gradle section in the side-panel, as expected.

This answer is giving you a quite extensive explanation for then generating the SHA1-fingerprint.

Upvotes: 11

Related Questions