本学期刚刚学习Android开发,使用Android studio 中出现了许多的小问题,其中之一就是工程的导入问题,Android开发示例程序,好多打开之后会出现,程序乱码、需要下载很多缺失文件、路径不对文件打开失败、缺少R等等,下面会有大量示例。
- Error: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.
Consult IDE log for more details (Help | Show Log)

2.Error:(1, 1) A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move

学习Android开发时,使用Android Studio遇到工程导入问题,如程序乱码、缺失文件、路径错误等。通过创建新项目并替换原有资源文件,只需三步即可解决:1. 打开工程文件新建项目;2. 复制原工程的res和java文件到新项目并替换;3. 检查并修改包名。此方法简单有效。

446

被折叠的 条评论
为什么被折叠?



