Kuv yuav download tau thiab nruab gradle li cas?
Kuv yuav download tau thiab nruab gradle li cas?

Video: Kuv yuav download tau thiab nruab gradle li cas?

Video: Kuv yuav download tau thiab nruab gradle li cas?
Video: Kuv Mam Ua Ib Siab By Zaj dub Ft Nt Vaj 2024, Hlis ntuj nqeg
Anonim

Microsoft Qhov rai cov neeg siv

Tsim ib tug tshiab directory C: Gradle nrog File Explorer. Qhib File Explorer thib ob qhov rai thiab mus rau qhov chaw nyob qhov twg Gradle kev faib yog rub tawm . Ob-nias lub ZIP archive kom nthuav tawm cov ntsiab lus. Luag cov ntsiab lus folder qib -6.2.2 rau koj qhov tsim tshiab C: Gradle nplaub tshev.

Hais txog qhov no, kuv yuav ua li cas manually nruab gradle?

  1. Rub tawm Gradle daim ntawv gradle faib.
  2. Extract cov ntaub ntawv rau qee qhov chaw.
  3. Qhib Android Studio: Cov ntaub ntawv> Chaw> Gradle> Siv cov gradle faib hauv zos taw qhia txoj hauv kev uas koj tau rho tawm cov qhab nia.
  4. nias thov thiab ok.

Ib yam li ntawd, kuv puas yuav tsum tau nruab gradle? Gradle yuav tsum tau JDK version 6 lossis tom qab los ua ntsia hauv koj qhov system. Nws siv JDK cov tsev qiv ntawv uas yog ntsia thiab teeb tsa rau JAVA_HOME ib puag ncig hloov pauv. Gradle nqa nws lub tsev qiv ntawv Groovy, yog li ntawd, peb ua tsis muaj yuav tsum tau nruab Groovy qhia meej. Yog nws yog ntsia , uas yog ignored los ntawm Gradle.

Ib yam li ntawd, kuv yuav nruab gradle li cas?

Qhib Android Studio thiab xaiv "Ntshuam qhov project" thiab xaiv siv Gradle raws li tus qauv sab nraud. Xaiv koj qhov chaw. qib file as cov Gradle qhov project. [Optional] Teem koj " Gradle home" nplaub tshev (yog li cov ntawv nyeem tig dub tsis yog grey).

Kuv yuav ua li cas thiaj paub tias gradle raug ntsia?

Khiav thiab Kev Xeem kev teeb tsa khiav Gradle , type cov qib hauv qhov rais hais kom ua. Rau kuaj version ntawm Gradle , hom qib -v hauv qhov rais hais kom ua.

Pom zoo: