1

I use Android Studio 3.3.1 version and i can not run my application

I can not find any solution in this linkAndroid Gradle Could not reserve enough space for object heap

I use latest version of java

Out of memory: Java heap space. Please assign more memory to Gradle in the project's gradle.properties file. For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: org.gradle.jvmargs=-Xmx1024m

What is your solutions about this ?

trincot
  • 317,000
  • 35
  • 244
  • 286
Latmos
  • 65
  • 2
  • 9

1 Answers1

1

You should go file -> settings -> Instant Run and disable first checkbox. I hope thats solve