Skip to content
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

Error on including in Gradle: ftc/electronvolts/statemachine/AbstractState.class #1

Open
tmaxmax opened this issue Oct 28, 2021 · 0 comments

Comments

@tmaxmax
Copy link

tmaxmax commented Oct 28, 2021

I have added the AAR for this lib under <root>/libs and then included it in TeamCode/build.gradle as specified in the wiki. When trying to build the project, I get the following error:

Execution failed for task ':TeamCode:checkDebugDuplicateClasses'.
> Could not resolve all files for configuration ':TeamCode:debugRuntimeClasspath'.
   > Failed to transform EVLib-release-.aar (:EVLib-release:) to match attributes {artifactType=enumerated-runtime-classes, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: C:\Users\tmaxm\.gradle\caches\transforms-2\files-2.1\a00aa508c8304d6aaee8beee0f8f68a6\jetified-EVLib-release.aar.
         > duplicate entry: ftc/electronvolts/statemachine/AbstractState.class

Any idea on what causes this and how I could fix it? If you need additional information I'm more than happy to provide. Thank you very much!

EDIT: I have also opened this StackOverflow thread which has additional details included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant