Android Studio 错误“未为模块指定输出路径" [英] Android Studio Error "output path is not specified for modules"

查看:77
本文介绍了Android Studio 错误“未为模块指定输出路径"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近刚刚升级到最新版本的 Android Studio (0.1.1),但我也使用 Android Studio 将我的项目重新定位到我的 Dropbox 文件夹.所以,我不确定是哪个导致了这个问题.当我构建或尝试运行我的项目时,我收到此错误:

I just recently upgraded to the newest version of Android Studio (0.1.1), but I also used Android Studio to relocate my project to my Dropbox folder. So, I'm not exactly sure which one is causing this problem. When I build or try to run my project I get this error:

Cannot start compilation: the output path is not specified for modules
 "actionbarsherlock",
"EmPubLite-EmPubLite".
Specify the output path in Configure Project.

我找不到任何对配置项目"的引用,文件下的项目结构"选项在此版本中不再适用.

I can't find any reference to "Configure Project" and the Project Structure option under File no longer works in this release.

推荐答案

Android Studio版本解决方案<1.0:

您只需转到模块设置">项目"并指定项目编译器输出"并使您的模块从项目继承.(为此,请转到模块">路径">继承项目".

You just have to go to your Modules settings > Project and specify a "Project compiler output" and make your modules inherit from project. (For that go to Modules > Paths > Inherit project.

或者您可以根据需要为每个模块指定输出.

Or you can specify your output for each module if you want.

这篇关于Android Studio 错误“未为模块指定输出路径"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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