Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] Unable to sync gradle files – Android Studio

Posted on November 11, 2022 By

Solution 1 :

  1. Close Android Studio if it is being opened.
  2. Delete cache in these folders:

C:Usersxxxxx.gradlecaches

C:Usersxxxxx.androidbuild-cache

C:Usersxxxxx.androidcache

Solution 2 :

androidstudio -> file -> invalidate caches and restart.

Problem :

Can anyone please give me solution as I have download fresh Bumblebee Android studio and trying to create a sample project but it is unable to sync grade files and showing following error-
enter image description here

I have following gradle versions of wrapper.properties and plugin:

wrapper.properties

distributionBase=GRADLE_USER_HOME
distributionUrl=https://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

app.gradle file:

plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Comments

Comment posted by Aymen Ben Salah

can you plz share all error with text not image

Comment posted by Stuti Kasliwal

Not worked, I have tried it several times

Comment posted by Stuti Kasliwal

not working already did.

READ  [FIXED] android - kotlin: Mutable property type in a data class
Powered by Inline Related Posts
Android Tags:android, android-studio, gradle

Post navigation

Previous Post: [FIXED] android.media.ImageWriter produces green screen screen on every second posted Image frame
Next Post: [FIXED] android – Notifee native module not found

Related Posts

[FIXED] android – Navigation component: how to list the fragments on the back stack? Android
[FIXED] java – How to calculate ProgressBar percentage for daily drink water Android
[FIXED] java – AbsSavedState$1 cannot be cast to android.widget.ScrollView$SavedState Android
[FIXED] java – Loading smaller version of an image for performance Android Android
[FIXED] android – Update RecyclerView with search results from SQLite Android
[FIXED] android – XML Drawable creates an unintended line in the middle of my transparent ring shape Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • What is the rising action in Julius Caesar?
  • How do you secure a rope to itself?
  • Does waterproof laminate scratch easily?
  • What makes a building prewar?
  • What can you learn in a month without alcohol?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme