使用 Android Studio 为一个模块重建、同步 Gradle 和 Clean [英] Rebuild, Sync Gradle and Clean for just one Module with Android Studio

查看:54
本文介绍了使用 Android Studio 为一个模块重建、同步 Gradle 和 Clean的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Android Studio 中有一个由五个模块建立的复杂项目.其中四个充当独立的应用程序,但其中一个是其余应用程序的基本代码.这样,我可以为每个应用程序拥有一个大的公共核心和四个单独的代码(这些应用程序共享羞耻模型数据和 api 连接).

I have in Android Studio a complex project establish by five modules. Four of them act as independent apps, but one of them is the base code for the rest. This way, I can have a big common core and four separates codes for every app (these apps share the shame model data and api connection).

我的问题是是否可以只为一个模块重建、清理或同步,而不是 Android Studio 中的整个项目.

My question is if it is possible rebuilding, cleaning or syncing just for one module, non the entire project in Android Studio.

谢谢!

推荐答案

现在在 Android Studio 中你可以使用 build -> make module nameModule"

Nowadays with Android Studio you can use build -> make module "nameModule"

这篇关于使用 Android Studio 为一个模块重建、同步 Gradle 和 Clean的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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