从Windows 8中提取adt-bundle-windows-x86_64-20140702此错误时

use*_*347 7 java eclipse android adt eclipse-adt

**从Windows 8中提取adt-bundle-windows-x86_64-20140702时发生此错误

(!   D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create folder adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature
    The filename or extension is too long.
!   D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature\pom.xml
    Total path and file name length must not exceed 260 characters
    The system cannot find the path specified.
!   D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature\pom.properties
    Total path and file name length must not exceed 260 characters
    The system cannot find the path specified.)
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?

小智 12

为了进一步简化这个问题的答案:你要将它解压缩到C:的原因是,如果你把它提取到其他地方(比如你的桌面),你将在文件名中添加字符.如果你提取它,因为它是桌面,这将增加"C:/用户/用户名/桌面/ ADT-束窗口-x86_64-20140702"的所有文件的路径,并把你的风险超过了最大路径名称大小.如果直接进入C :(或任何驱动器)并给它一个简短的名称,如android,你只会添加C:/ android到路径.


Nat*_*722 5

有这个相同的问题,无论我如何提取它,试图重命名的东西,等我一直得到错误.我想打开存档(在WinRAR中)并拖出adt-bundle ....文件夹中的子文件夹会减少字符数,但我不断收到错误.一时兴起,我尝试右键单击存档,选择提取文件...并选择C:驱动器(基本上我已经尝试通过拖动文件夹来做)和....它工作!看起来像拖动要提取的文件时WinRAR执行的操作与使用"提取文件..."选项不同.

只是想把它放在这里以防其他人遇到同样的问题.


J W*_*ang 5

您可以使用7-Zip解压缩文件而不是内置的Windows实用程序.7-Zip将允许您将文件解压缩到计算机上的任何位置.

这是Windows 7和Windows 8上的已知问题.请参阅问题72539:eclipse adt bundle Windows 7 64位不会在Android问题跟踪器上解压缩.