Master" branch has not been analyzed

Hello,
I have one Android project which is not begin analyse after configuring it from SonarCloud, Below is the error what it gave:

"master" branch has not been analyzed yet and you have multiple branches already. It looks like it is not your Main Branch, check your configuration.

I have checked from Hithub, Master branch is already set as default branch and it is long living branch.

Your help into this highly appreciated

  • versions used : SonarCloud
  • error observed : “master” branch has not been analyzed yet and you have multiple branches already. It looks like it is not your Main Branch, check your configuration.
  • steps to reproduce
  • potential workaround

Hello,

Usually this show up when your default branch on Github is called differently than “master”, can you confirm ?

If that’s the case, you can go in your project Administration -> Branches & Pull Requests and rename the “master” branch to the actual name of your main branch on Github:


image