Android Studio工程导入,仅需三步便可运行工程导入,仅需三步便可运行
本学期刚刚学习本学期刚刚学习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
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.
遇到这些情况或者是其他情况,着实让人闹心,经过前期的多次试验和推广,发现一种小方法还是很有效果的,而且仅仅需要三步,接下来请看:遇到这些情况或者是其他情况,着实让人闹心,经过前期的多次试验和推广,发现一种小方法还是很有效果的,而且仅仅需要三步,接下来请看:
1.首先,你需要直接打开工程文件,然后建立一个新的项目;
评论0