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

标签 java android eclipse 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.)

我该如何解决这个问题?

最佳答案

为了进一步简化这个问题的答案:您想将它解压缩到 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/

相关文章:

Python PATH 中特殊字符编码问题

java - 通过ant脚本运行junit时在控制台上获取输出

android - Android/Linux下如何检测which/dev/input/eventX是touchpad?

linux - GNU ARM - 未找到 nano.specs

android - 在运行时在 FloatingActionButton 上设置 layout_anchor

android - 如何在 "Completing action using"菜单中显示应用程序名称?

eclipse - 无法从 Eclipse 停止 Grails 应用程序(在 Windows 上)

java - Swing 应用程序在某些情况下不显示

java - 将 spring 类作为可运行的 jar 执行时无法读取 applicationContext.xml

java - 选择随机数以选择数组索引时应用程序崩溃