Maven project configuration required for module

旧时模样 提交于 2020-01-14 03:17:08

问题


I'm trying to compile a project in Android Studio 1.2.1.1 and getting the following error:

Error:Maven Resources Compiler: Maven project configuration required for module 'slidingmenu' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE.

I can't find any info in the internet about this error. How do I fix it?


回答1:


I had two git branches of the app: one branch was using gradle and the other branch was using maven and ant. I checked out the branch with gradle and then switched two another one and then hit this error. The solution was to checkout maven+ant branch into an empty folder.



来源:https://stackoverflow.com/questions/30810169/maven-project-configuration-required-for-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!