-1

Gradle project sync failed on Android Studio 3.0.1

I do what it was said here and I got this error:

enter image description here

How shall I proceed? Thanks.

CKE
  • 1,533
  • 19
  • 18
  • 29

1 Answers1

2

You need to install build-tools package. For installing it manually, follow these steps:

  1. Download the "build-tools_r27.0.3-windows" directly from the following link: https://dl-ssl.google.com/android/repository/build-tools_r27.0.3-windows.zip

  2. On your "SDK" directory, create a new folder and rename it to "build-tools".

  3. Extract the downloaded file in the "build-tools" folder.

  4. Finally, Restart Android studio.

kamyar
  • 41
  • 6