Android的工作室摇篮已经部署模块 [英] Android Studio Gradle Already disposed Module
问题描述
我已经安装的Android Studio版本1.0.1。我从月食进口我的项目,它工作正常。
然后,我删除了一个模块,并将其重新导入到Android Studio项目。该gradle这个build说:BUILD SUCCESSFUL,但一个警告窗口的弹出消息
无法完成摇篮执行。
原因:
已经部署:模块:MYMODULENAME
我不能现在就开始我的应用程序。任何想法我可以做什么?
编辑:
我解决了以下说明问题:
- 从Android的切换项目,以项目
- 删除条目包括settings.gradleMYMODULENAME
- 在模块符号的蓝框不显示。然后,你可以删除该模块中的上下文菜单
- 导入模块
我通过想通了这个问题。
- ./ gradlew干净
- 重新启动的Android stduio
I have installed Android Studio version 1.0.1. I have imported my projects from eclipse and it works fine. Then i deleted a module and reimport it to my Android Studio project. The gradle build says "BUILD SUCCESSFUL" but it pops up a alert window with the message
Failed to complete Gradle execution. Cause: Already disposed: Module: 'MYMODULENAME'
I cant start my app now. Any idea what i can do?
Edit: I solved the problem with the following instructions:
- Switch project view from Android to Project
- Remove entry include 'MYMODULENAME' in settings.gradle
- The blue box in the module symbol dont show. Then you can delete the module in the context menu
- Import the module
I figured out this problem by
- ./gradlew clean
- Restart Android stduio
这篇关于Android的工作室摇篮已经部署模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!