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)'
I already done with build.gradle
file to make changes in that in Dependencies.
Also tried Encoding changes in Settings.
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.
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 :)
I have faced this same issue, What's my issue.. i have copied this 'additionnal.jar' file into app\libs folder file name:- additionnal.jar
what i have written in build.gradle file(App level) to include:- implementation files('libs/addtional.jar')
you can see that file name difference additionnal != addtional
hence i changed implementation files('libs/additionnal.jar')
and it worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With