While extracting adt-bundle-windows-x86_64-20140702 this error from windows 8

user3776347 picture user3776347 · Jul 13, 2014 · Viewed 19.8k times · Source

**While extracting adt-bundle-windows-x86_64-20140702 from windows 8 this error occurred

(!   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.)

How can I fix this?

Answer

straightface picture straightface · Jul 16, 2014

To further simplify the answer to this: the reason that you want to extract it to C: is that if you extract it to somewhere else (like you desktop) you will be adding characters to the file name. If you extract it as it is to the desktop, it will add "C:/users/username/desktop/adt-bundle-windows-x86_64-20140702" to the paths of all of the files and put you at risk for exceeding the max path name size. If you do it straight to C: (or any drive) and give it a short name like android, you will only add C:/android to the path.