为模块所需的Maven项目配置 [英] Maven project configuration required for module

查看:2226
本文介绍了为模块所需的Maven项目配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译的Andr​​oid项目工作室1.2.1.1和得到以下错误:

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?

推荐答案

我有应用两个混帐分支:一个分支是使用gradle这个与另一个分支是使用Maven和蚂蚁。我检查了与gradle这个分支,然后切换另两个一个,然后打这个错误。解决的办法是签出Maven +蚂蚁分支到一个空文件夹。

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.

这篇关于为模块所需的Maven项目配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆