java.lang.ClassCastException: org.jetbrains.android.facet.AndroidFacet cannot be cast to org.jetbrains.android.facet.AndroidFacet
Answered
When I try get androidModuleModel class with AndroidModuleModel.get(module) I getting follow exception:
java.lang.ClassCastException: org.jetbrains.android.facet.AndroidFacet cannot be cast to org.jetbrains.android.facet.AndroidFacet
pretty weird
Please sign in to leave a comment.
Please make sure you setup your IntelliJ Platform SDK correctly http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html dependency of Android plugin classes must be added to it