无法打开项目项目文件的长度超过100个字符的限制 [英] Cannot Open Project the length of the project file exceeds the limit of 100 characters

查看:2574
本文介绍了无法打开项目项目文件的长度超过100个字符的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Android Studio 3.1 Preview并在尝试导入某些项目时出错:

I am using Android Studio 3.1 Preview and get an error when I attempt to import some projects:

无法打开项目
项目文件的长度超过100个字符的限制

Cannot Open Project The length of the project file exceeds the limit of 100 characters

无论是从github导入克隆项目还是从Eclipse保存的旧项目,都会发生此错误。有没有办法导入这些项目?

This error occurs whether I am importing cloned projects from github or old projects I have saved with Eclipse. Is there a way to import these projects?

推荐答案

在Android 3.1中,如果你遇到了100个字符的限制,使用导入项目(文件>新建>导入项目),使用文件>打开,选择您的项目,然后选择确定按钮。

In Android 3.1, if you are running up against the 100 character limit, instead of using Import project (File>New>Import Project), use File>Open, select your project, and then select the OK button.

我不确定是否导入提供一些额外的功能,除了强制您重新考虑使用> 100个字符的长路径。为了我的目的,使用File> Open方法允许选择具有长路径的项目并保留现有的目录结构。

I am not sure whether import offers some additional functionality beyond forcing you to rethink using long paths of > 100 characters. For my purposes, using the File>Open method allows the selection of projects with long paths and preserves existing directory structures.

这篇关于无法打开项目项目文件的长度超过100个字符的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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