简体   繁体   English

将Eclipse项目导入到Android Studio

[英]Importing eclipse projects to android studio

I'm trying to import an eclipse project to android studio but keep getting the error message: 我正在尝试将eclipse项目导入android studio,但始终收到错误消息:

Gradle 'PhotoGallery' project refresh failed:

Error:C:\Users\user\.gradle\caches\2.14.1\scripts-remapped\settings_2yhllogm103q9sdcjkhbixdfg\9ejwtyixtds2dlx9q4hqm4iap\cp_settings57408229\cache.properties (The system cannot find the file specified)

I've already tried the below, but the problem persists: 我已经尝试过以下方法,但问题仍然存在:

File > Invalidate Caches/Restart > Invalidate and Restart 文件>无效的缓存/重新启动>无效并重新启动

Here is a screenshot of the issue: 这是问题的屏幕截图: 这是问题的图片

删除.gradle目录应该可以解决您的问题,因为android studio将重新创建gradle目录,而不会出现错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM