有办法删除一个模块在Android工作室? 当我右键单击一个模块,我找不到删除选项,是在其他地方吗?
当前回答
假设:
你正在使用Android Studio 1.2.1或1.2.2(我还没有最新的版本,当我这样做时,我会再次编辑它)。 您的项目工具窗口显示以下视图之一:“项目”,“包”,“Android”或“项目文件”
删除Android Studio模块的操作如下:
In the Project Tool Window click the module you want to delete. Between the Tool Bar and the Project Tool Window the tool bar you will see two "chips" that represent the path to the selected module, similar to: your-project-name > selected-module-name Right click on the selected-module-name chip. A context menu with multiple sections will appear. In the third section from the bottom there will be a section that contains "Reformat Code..", "Optimize Imports..." and "Delete". Select "Delete" and follow any prompts.
其他回答
(编者注:这个答案在2013年5月的Android Studio v0.1中是正确的,但在2014年7月不再准确,因为提到的菜单选项已经不存在了——请参阅最新的替代答案)。
首先你得把它标记为排除。 然后右键单击,就可以删除项目了。
步骤1:右键单击项目>打开模块选项
步骤2: 点击你的模块——>点击(-)在弹出窗口左上角签署完成,然后按确定按钮。
步骤3:从项目中移除模块后
步骤4:再次在项目中单击右键,选择删除菜单,从磁盘空间(即文件夹)删除整个内容。
步骤5:通过单击done从磁盘删除模块的内容。
删除是件让人头疼的事。我发布了Android Studio 1.0.2的解决方案。
步骤1:右键单击从文件夹层次结构中选择的“项目名称”,如图所示。注意:通过右键单击项目名称并从上下文菜单中选择delete,也可以从窗口右侧的指挥官视图中删除它。
第二步:项目被删除了(看起来),但gradle似乎保留了项目应用文件夹的记录(通过点击gradle View查看)。现在转到文件->关闭项目。
步骤3:现在您处于开始窗口。在最近项目列表上移动光标。按下删除。
第四步:通过移动或删除文件夹从资源管理器中删除。这个位置是在your_user_name->Android Studio Projects->…
第五步:回到Android工作室窗口,项目就永远消失了。你现在可以开始一个新项目了。
假设:
你正在使用Android Studio 1.2.1或1.2.2(我还没有最新的版本,当我这样做时,我会再次编辑它)。 您的项目工具窗口显示以下视图之一:“项目”,“包”,“Android”或“项目文件”
删除Android Studio模块的操作如下:
In the Project Tool Window click the module you want to delete. Between the Tool Bar and the Project Tool Window the tool bar you will see two "chips" that represent the path to the selected module, similar to: your-project-name > selected-module-name Right click on the selected-module-name chip. A context menu with multiple sections will appear. In the third section from the bottom there will be a section that contains "Reformat Code..", "Optimize Imports..." and "Delete". Select "Delete" and follow any prompts.
正如我所看到的,在Android Studio 0.5.1中,你必须通过简单地执行File ->关闭项目来关闭项目,然后将鼠标移动到你想要删除的项目上,然后将鼠标保持在同一个项目上,然后按delete,然后单击“OK”按钮,这将从Android Studio中删除你的项目。
推荐文章
- 警告:API ' variable . getjavacompile()'已过时,已被' variable . getjavacompileprovider()'取代
- 安装APK时出现错误
- 在Android Studio中创建aar文件
- 调试在哪里。Android Studio中的密钥存储库
- Android Studio, logcat在应用程序关闭后清理
- C++ Linux的想法?
- Android Studio中的。iml文件是什么?
- Android Studio无法找到有效的Jvm(与MAC OS相关)
- 在Android Studio中改变矢量资产的填充颜色
- 用Android Studio进行调试永远停留在“等待调试器”状态
- 错误:无法运行mksdcard SDK工具
- Android Studio的警告屏幕选项在哪里?
- 如何同步项目到GitHub与Android工作室?
- Xcode 4 -构建输出目录
- Android Studio在哪里保存ProGuard映射文件?