Android Studio 打开文件时出现如下错误信息:
Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
<a href="openFile:E:\IT_Resource\Studio_Files\轮播图\BannerDemo\app\build.gradle">Open File</a>

问题原因:
工程项目路径或者项目名称中包含了中文(如图片中所示)
解决Android Studio打开文件时错误:Your project path contains non-ASCII characters

解决办法:
将工程项目路径或项目名称中包含的中文修改为英文.

注意事项:
1.移动文件时不要移动到带有中文的目录下,若移动到中文目录下再打开则会出现此错误;
2.新建工程项目时选择的目录中若包含中文,则会直接提示,选择没有中文的路径就好.
解决Android Studio打开文件时错误:Your project path contains non-ASCII characters

相关文章:

  • 2021-11-29
  • 2021-12-08
  • 2021-07-09
  • 2021-08-14
  • 2022-12-23
  • 2021-09-05
  • 2021-11-22
猜你喜欢
  • 2021-07-05
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
相关资源
相似解决方案