ModifiableFacetModel#commit throws java.lang.AssertionError: Templates not found exception
Hey all,
I have just started TTD development in Intellij Community 2016.2 to build an Android plugin today, and really not sure how to search or go about solving the assertion error raised when invoking `ModifiableFacetModel#commit`. I need to add the Android Facet before proceeding with Android plugin TTD development to create awesome plugins for intellij in the future. Any helpful advise will be much appreciated and thanks in advance.
Full assertion error below:
java.lang.AssertionError: Templates not found in: /../../Library/Caches/IdeaIC2016.2/plugins-sandbox/test/plugins/android/lib/templates
请先登录再写评论。
Hello,
how did you start the process where the assertion appeared? Did you start Plugin Run Configuration? Or you started tests? You can also put a breakpoint on a line where assertion is thrown (you didn't provide the stacktrace but I suppose it's from TemplateManager#getExtraTemplateRootFolders), debug it and look at values of local variables.