Android的Studio项目编码错误 [英] Android Studio Project Encoding Error

查看:169
本文介绍了Android的Studio项目编码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次当我开始一个新项目的时候,gradle这个结束后它显示了这个警告我。

Every time when i start a new project, after gradle finishes it shows this warning to me.

Warning:The project encoding (windows-1252) does not match the encoding specified in the Gradle build files (UTF-8). This can lead to serious bugs.

有没有人知道如何解决这个问题?

Is anyone know how to overcome this issue?

推荐答案

当你得到警告,点击打开文件编码设置。那么这两个IDE编码和编码项目为UTF-8选择框更改。您还可以更改默认的编码在设置菜单的底部。

When you get that warning, click on Open File Encoding Settings. Then change both IDE Encoding and Project Encoding to UTF-8 from the select box. You can also change the default encoding at the bottom of the settings menu.

这篇关于Android的Studio项目编码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆