错误:写入时出错 **** 文件名太长

Mar*_*orn 5 android android-gradle-plugin dagger-2

我正在尝试用我的笔记本电脑和 Ubuntu 组装一个 Android 版本,但我不断收到由 dagger 生成的文件的错误:

error: error while writing DaggerMyLibraryBookmarksComponent$com_testx_baseapplication_presentation_common_dagger_component_ApplicationComponent_userManagerRepository.class (File name too long)
Run Code Online (Sandbox Code Playgroud)

这个错误很奇怪,因为在其他具有相同代码和相同的计算机中,我可以毫无问题地编译项目。

有没有人遇到过这个问题?

Mar*_*orn 5

这里的问题是我在 /home 分区中使用了加密文件夹。我刚刚在加密分区外创建了一个新文件夹,问题就解决了。

这是因为加密文件夹只接受 144 字节的类名文件。