Android Studio 2.x - Building Symbols… Forever

前端 未结 2 1975
臣服心动
臣服心动 2021-02-06 00:52

I have problem with Android Studio. After updating AS to 2.2 it takes a long (~30 min) time to process indicating that it is \"Building Symbols...\" The project is reasonably la

2条回答
  •  迷失自我
    2021-02-06 01:18

    I solved it, it was maybe caused by a large project size.

    so, if Windows, go to Program Files/Android/Android studio/bin and find studio.exe.vmoptions or studio64.exe.vmoption files (choose 32bit or 64bit)

    Last, change xmx option.

    xmx option may setting 1248m, change it more than 4000 or 6000...(think your build machine ram size)

    Building symbol need larger ram size than default setting.

提交回复
热议问题