无法在"FileMapping"中打开库 [英] Cannot open a library at 'FileMapping'

查看:74
本文介绍了无法在"FileMapping"中打开库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Cannot open a library at 'FileMapping(
from=C:\Users\Administrator\AndroidStudioProjects\FreshProject\app\libs\xerceslmpl-2.11.0.jar, 
to=C:\Users\Administrator\.gradle\caches\transforms-2\files-2.1\0b503c4af77ecb39244ba23ffbf08e5d\jetified-xerceslmpl-2.11.0.jar)'

我已经对 build.gradle 文件进行了更改,以在Dependencies中进行更改.还尝试了对设置中的更改进行编码.

I already done with build.gradle file to make changes in that in Dependencies. Also tried Encoding changes in Settings.

推荐答案

您刚刚直接从lib文件夹中删除了jetified-xerceslmpl-2.11.0.jar文件.现在,您还必须从程序的依赖项中删除jetified-xerceslmpl-2.11.0.jar文件.因此,继续执行文件-项目结构-依赖关系-在应用程序下找到"jetified-xerceslmpl-2.11.0.jar"并将其从此处删除.现在再次运行该项目,该错误将不再存在,因为您还从项目的文件树结构中删除了jetified-xerceslmpl-2.11.0.jar.

You've just deleted the jetified-xerceslmpl-2.11.0.jar file from the lib folder directly. Now you've to remove the jetified-xerceslmpl-2.11.0.jar file from the dependencies of the program too. So go on File - Project structure - Dependencies - under app find the "jetified-xerceslmpl-2.11.0.jar" and remove it from here. Now again run the project the error will not be there because you've also removed the jetified-xerceslmpl-2.11.0.jar from the file tree structure of your project.

您还可以从依赖项中项目结构的app目录下的build.gradle文件中删除此十进位{}

You can also remove this decencies from the build.gradle file under the app directory of your project structure in the dependencies{ }

希望这会有所帮助!!!快乐的编码:)

Hope this will help!!! Happy coding :)

这篇关于无法在"FileMapping"中打开库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆