Android Studio Build window garbled problem

Problem Description:

As shown in the figure, garbled characters appear in Build during project compilation

insert image description here

Solution:

In the top Help window, select Edit Custom VM Options, as shown in the figure:

insert image description here

Just add and save in the text -Dfile.encoding=UTF-8, as shown in the figure:

insert image description here

Guess you like

Origin blog.csdn.net/weixin_38515203/article/details/129290772