[英]How to silence automatic gradle build while importing a project to Android Studio?
Whenever I import a project to Android Studio, the gradle sync is initiated automatically and I get build failure errors. 每当我将项目导入Android Studio时,gradle同步都会自动启动,并且会出现构建失败错误。 Because of this I am unable to traverse the code and not able to debug the code.
因此,我无法遍历代码,也无法调试代码。 Is there anyway to use Android Studio for just traversing the code flow and not building the code with gradle?
无论如何,有没有使用Android Studio来遍历代码流而不用gradle构建代码?
您可以在终端中调用./gradlew --stop,它将杀死所有gradle进程
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.