-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DuplicateFileException: duplicate files copied in APK org/xerces/impl/msg/XMLSerializerMessage.properties #1
Comments
I haven't used it for quite some time, especially not with newer Android versions but I'll look into it as soon as possible. |
I'm having exactly the same problem. I've tried to delete all and reinstall from the beginning but it didn't solved anything. I copy below the error message it appears to me when I try to execute your example hoping it helps you track the issue. It would be great that you could help us. "_WARNING: Ignoring Android API artifact com.google.android:android:2.1_r1 for debug FAILURE: Build failed with an exception.
|
I eventually just gave up and decided to implement Jena on simple REST service and then accessed the server from Android. I think that practically everything would have to be repackaged for every new Jena version... Extremely impractical... I hope Jena includes official support for Android in the future... |
Oh, okay, thank you mate. I've decided not using it too and go for another technology. I don't understand what they are waiting for to include it in Android but... |
The following seems to work for me. In the module build.gradle file: packagingOptions { |
Hello! Sorry to wake up a seven-year-old thread, but I recently ran into this issue and had to fix it. @samcn8's solution worked for me too, but I also had to add some Tweaked code from @samcn8, in the app's
Additional
|
I installed jena-android with local maven repository, as instructed on the main page of this project. I get this error when trying to deploy application:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
I tried to exclude the file but then I get another DuplicateFileException and after that another... (it seems to go on forever). I also suspect that the files are important and should not be excluded.
How can I resolve this?
The text was updated successfully, but these errors were encountered: