In android studio,cannot load 2 facets-unknown facet type:android and android-gradle

前端 未结 12 882
深忆病人
深忆病人 2020-12-01 00:37

When I open android studio I am getting an error- \"Error loading project: Cannot load 2 facets. When I clicked to see the error the following appeared

<
12条回答
  •  星月不相逢
    2020-12-01 00:56

    For me I had to uncheck the plugin Android APK Support. I clicked Apply and then Ok to close the window. Android Studio prompted me to restart the program, and the program restarted. I checked the Android APK Support plugin again and restarted the program. And then I selected File -> Sync Project with Gradle Files

    Then it worked just fine.

提交回复
热议问题