Nemo
Nemo

Reputation: 203

Gradle sync failed: Cause: startup failed (Basic functionality not working)

It is my first time to use android studio V 3.1.3
when i finished installation and trying to build this error is shown

Error

it said that "Basic functioality not working correctly such as building and debugging "
i do not known how to solve it

i use a local gradle distribution like this
Trying this

Then press on sync project with gradles files
but this error is still shown.

It works well but after that this error is happened
Err

any help
Thanks in advance.

Upvotes: 0

Views: 4026

Answers (4)

4rmin
4rmin

Reputation: 380

you should go to settings > build,execution,Deployment > build tool > gradle

and the change the user gradle home that to path of environment variable of JAVA-HOME Address Like this and then change gradle JDK to Embedded JDK it will solve your problem

Upvotes: 0

CHEBBI Bessem
CHEBBI Bessem

Reputation: 1

Deleting the .gradle folder was unsuccessfull for me. Still waiting for another solution.

Upvotes: 0

prashant17
prashant17

Reputation: 1550

Have you tried

Android studio -> File -> Invalidate Caches/Restart -> Invalidate and Restart

Upvotes: 1

Arbaz.in
Arbaz.in

Reputation: 1558

I also have the same problems as you,Now I have solved it.

The following are the steps to be solved

  1. Exit Android Studio.
  2. Delete the .gradle folder eg: C:\Users{userName}}.gradle
  3. Restart androidStudio and wait a moment.

Upvotes: 1

Related Questions