Merged rootsChanged not allowed inside rootsChange

2019-09-01 16:15发布

问题:

On Gradle sync of my Android application in Android Studio my Event Logs shows me the Following Error:

Throwable:Merged rootsChanged not allowed inside rootsChanged, rootsChanged level == 1

But I don't know what is it for and how to resolve it. I had searched for it but didn't find anything relevant to it.

Can anybody can help me for the same?

Thanks in Advance.

回答1:

It seems related to some change in your modules.
Check https://code.google.com/p/android/issues/detail?id=183881

Do the follow steps:

  • delete the .idea folder
  • delete the .iml files
  • import again with gradle