**从 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.)
我该如何解决这个问题?
最佳答案
为了进一步简化这个问题的答案:您想将它解压缩到 C: 的原因是,如果您将它解压缩到其他地方(比如桌面),您将向文件名添加字符。如果按原样将其解压缩到桌面,它会将“C:/users/username/desktop/adt-bundle-windows-x86_64-20140702”添加到所有文件的路径中,并使您面临超过限制的风险最大路径名大小。如果您直接对 C:(或任何驱动器)执行此操作并为其指定一个短名称,如 android,则您只会将 C:/android 添加到路径中。
关于java - 从 Windows 8 中提取 adt-bundle-windows-x86_64-20140702 时出现此错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24724138/