简体   繁体   中英

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. 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?

您可以在终端中调用./gradlew --stop,它将杀死所有gradle进程

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM