Babban matsala tare da yin amfani da cache na ainihin lokaci don gradle shine cewa yana iya rage ayyukan ku. Ta hanyar tsoho, gradle yana amfani da ma'ajin gida wanda aka adana akan injin inda gradle ke gudana. Idan kana amfani da ma'ajiyar nesa, za'a adana cache ษin akan uwar garken inda ma'ajiyar ta ke. Koyaya, idan kuna aiki tare da ma'ajiyar gida, za'a adana cache ษin akan injin ku.
You can clear the Gradle cache in React Native by running the following command: ./gradlew cleanBuildCache
Wannan umarnin zai share cache na Gradle.
Menene Cache
Cache wata hanya ce da ke taimakawa haษaka aikin aikace-aikacen 'Yan Asalin React. Yana ba app damar adana bayanai a cikin gida ta yadda za a iya samun damar shiga cikin sauri.
Menene Gradle
Gradle shine tsarin ginawa ta atomatik don Java, Groovy, da Scala. Ana iya amfani da shi don sarrafa tsarin ginin don ayyukan software. A cikin React Native, ana iya amfani da Gradle don sarrafa tsarin gini don aikace-aikacen hannu na asali.