Out of memory error: Java heap memory on Android Studio

后端 未结 12 787
-上瘾入骨i
-上瘾入骨i 2020-12-24 05:47

How do I fix java.lang.OutOfMemoryError: Java heap space when compiling my Android project?

I get this after I upgraded to version 1 of Android Studio.

12条回答
  •  醉梦人生
    2020-12-24 06:12

    Build => Clean Project

    then

    Build => Rebuild Project

    When I do this, it always fixes for me.

提交回复
热议问题