简体   繁体   中英

how to configure gradle in androidstudio and my android project

this is my default gradle version. 在此输入图像描述

then this is my config in my project ,like this 在此输入图像描述

however,when i set the gradle version in project structure,like this,my studio show a progress till now. 在此输入图像描述

i don't know whether is my config wrong,or other reason.Can any one tell me how to config the gradle? thanks!

尝试取消选中“全局成绩”设置上的“脱机工作”。

AndroidStudio came with gradle-wrapper AKA ./gradlw so ideally you don't really need to install gradle on the machine. Check the network settings if it takes too long for gradle to download all the dependencies. And don't check offline mode :)

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