`

The following problems have occurred when adding the files: fatal: unable to Fil

    博客分类:
  • Git
Git 
阅读更多

当使用git来进行add操作的时候,有时会出现以下异常:

 

fatal: unable to stat 'SlidingMenu/build/tmp/expandedArchives/classes.jar_9xsqkluthu17h6nhfgy4rp26h/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoJellyBeanMr2.class': Filename too long
 during executing git -c core.quotepath=false add --ignore-errors -- SlidingMenu/build/intermediates/classes/release/com/jeremyfeinstein/slidingmenu/lib/SlidingMenu$CanvasTransformer.class

 

 

 

 

遇到以上问题,可采取以下操作:

 

  1. 如果你的git不是1.9以上的就升级到1.9以上
  2. 登录 Git Bash
  3. 来到你报long paths issue的Git repository
  4. 在 Git Bash中输入git config core.longpaths true



 

 

 

接着发现就可以正常的add操作了

 



 

  • 大小: 113.1 KB
  • 大小: 74.3 KB
  • 大小: 16 KB
  • 大小: 33.3 KB
1
0
分享到:
评论

相关推荐

    zotero connector 插件

    Zotero Connector是一款强大的文献管理工具Zotero的浏览器插件,它允许用户在浏览网页时轻松地收集、组织和引用研究资料。该插件支持多种浏览器,如Firefox、Chrome和Safari,使得用户能够在阅读学术文章、访问在线...

    (241条消息)Python中报错“TypeError:‘list‘objectisnotcallable”的解决方法

    在Python编程过程中,可能会遇到一个常见的错误提示"TypeError: 'list' object is not callable"。这个错误通常是由于程序员不小心将内置的数据结构名称如`list`、`tuple`等作为变量名,导致后续尝试调用这些内置...

    java.sql.SQLException: 内部错误: Unable to construct a Datum from the specified input

    Q: I am working with ... I am using updateBinaryStream method of resultset to update the BLOB field but it is failing after giving following exception java.sql.SQLException: Internal Error: Unable to

    BURNINTEST--硬件检测工具

    - Minor change to the 2D memory test when run with the 3D test (multiple large windows) and the RAM test. Aimed at correcting sympton: Access Violation 0x00404CF9. - Corrections to the mapping of ...

    SAM分割模型onnx导出模型问题:Exporting the operator repeat-interleave to ON

    TypeError: 'torch._C.Value' object is not iterable (Occurred when translating repeat_interleave). 问题解决: 1.历程:尝试改了opset= 11,12,14,17都不行 Exporting the operator repeat_interleave to...

    解决 github项目clone报错 Failed connect to github.com:443; Connection

    系统环境:CentOS Linux release 7.6.1810 (Core)  起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm

    ffmpeg win版,用于测试rtmp

    FFmpeg 是一个强大的开源多媒体处理工具,广泛应用于音视频的编码、解码、转换、流媒体处理等多个领域。在Windows环境下,FFmpeg 提供了方便的命令行界面,使得用户无需深入了解底层技术,就能对多媒体文件进行各种...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: The TFlexPanel.FindControlAtPoint method maked virtual to realize RealTime-capability when on mouse cursor moving the flex-object search not occurs. - FIX: After deleting the selected points ...

    计算机网络第六版答案

    14. If the two ISPs do not peer with each other, then when they send traffic to each other they have to send the traffic through a provider ISP (intermediary), to which they have to pay for carrying ...

    OutlookAttachView v2.73

    o When adding a folder to scan (with the Add button), the folder path in now delimited with quotes, to ensure that it'll be scanned properly if the folder name contains a comma character. * ...

    Explanation: The Web server refused the connection.

    The timeout could have occurred due to Internet congestion. Check spelling: Check that the Web page address is spelled correctly. The address may have been mistyped. Access from a link: If there is...

    访问网站提示An error occurred on the server when processing the URL的解决方法

    解决方法:An error occurred on the server when processing the URL. Please contact the system administrator 在WINDOWS7或SERVER2008上安装了IIS7.5,调试ASP程序时出现以下错误: An error occurred on the ...

    The connection to adb is down问题

    D:\workspace\ganji\build.xml:144:The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar ``` 2. **...

    IAR for stm8 debugger-support-files.exe

    IAR for stm8 debugger-support-files 解决问题===> An error occurred while retrieving GDI features: gdi-error [40201]: Can't access configuration database

    Tools and Techniques for Audio Debugging

    techniques are also applicable to Linux systems. The focus of the techniques presented in this document is the multichannel audio serial port (McASP), which is the audio peripheral in the DRA7xxx ...

    eac3to V3.17

    * when demuxing subtitle files, the number of captions is added to the filename * timestamp derived FPS is used for gap checking instead of video bitstream FPS * fixed: 44.1khz AC3 encoding was still ...

    解决在使用IAR调试STM8时出错的问题

    https://www.amobbs.com/forum.php?mod=viewthread&tid=4266304阿莫电子15楼哥们提供的方法,IAR FOR STM8S 错误 An error occurred while retrieving GDI features: gdi-error [40201]

    深入android中The connection to adb is down的问题以及解决方法

    报错:BUILD FAILEDD:\workspace\ganji\build.xml:144: The following error occurred while executing this line:D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp....

    Jam.ShellBrowser.8.1.2.2013-03-06

    Bugfix - TJamFileList: Fixed exception that occurred when setting the property 'ShowColumnHeaders' to false. Bugfix - TJamFileList: Fixed delay in lists with many items when hitting 'End' key to jump ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

Global site tag (gtag.js) - Google Analytics