0

When I create a new project in the android studio I get a Gradle error:

Could not load wrapper properties from 'C:\Users\user\Desktop\Kotlin Projects\Apps\500Days\gradle\wrapper\gradle-wrapper.properties'.

I don't know what's wrong, please what do I do?? and what caused this it was working fine just yesterday.

Here's a photo of it on screen just in case:

enter image description here

Edwin
  • 565
  • 11
  • 26

1 Answers1

0

Just create a file called gradle.properties in your root project:

root
|--gradle.properties
|--build.gradle
|--settings.gradle
|--app
|----build.gradle

Then add inside the file:

org.gradle.jvmargs=-Xmx2048m

More Detail enter link description here

Tousif Irshad
  • 37
  • 2
  • 12