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

前端 未结 12 862
深忆病人
深忆病人 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:54

    This problem occured when i'd updated Android Studio.

    In case nothing from other answers works, you don't have another option, except removing broken settings and making clean setup.

    So what i am suggesting:

    • Use Settings Repository Feature to store personal IDE settings
    • close studio
    • remove .AndroidStudioX folder from user folder
    • re-launch studio, do not copy settings from previous version (because settings probably broken and auto-import couldn't import it well)
    • import personal settings from Settings Repository

提交回复
热议问题