user29612618
user29612618

Reputation: 1

The Duplicate class error on android studio

enter image description here

Duplicate class com.badlogic.gdx.physics.box2d.Body found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.BodyDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.BodyDef$BodyType found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Box2D found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Box2DDebugRenderer found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.ChainShape found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.CircleShape found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Contact found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.ContactFilter found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.ContactImpulse found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.ContactListener found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.DestructionListener found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.EdgeShape found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Filter found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Fixture found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.FixtureDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Joint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.JointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.JointDef$JointType found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.JointEdge found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Manifold found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Manifold$ManifoldPoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Manifold$ManifoldType found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.MassData found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.PolygonShape found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.QueryCallback found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.RayCastCallback found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Shape found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Shape$Type found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.Transform found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.World found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.World$1 found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.World$2 found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.WorldManifold found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.graphics.ParticleEmitterBox2D found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.graphics.ParticleEmitterBox2D$1 found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.graphics.ParticleEmitterBox2D$ParticleBox2D found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.DistanceJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.DistanceJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.FrictionJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.FrictionJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.GearJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.GearJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.MotorJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.MotorJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.MouseJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.MouseJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.PrismaticJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.PrismaticJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.PulleyJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.PulleyJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.RevoluteJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.RevoluteJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.WeldJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.WeldJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.WheelJoint found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1) Duplicate class com.badlogic.gdx.physics.box2d.joints.WheelJointDef found in modules box2d-1.3.0.jar -> box2d-1.3.0 (org.aya-prover.gdx-box2d:box2d:1.3.0) and gdx-box2d-1.12.1.jar -> gdx-box2d-1.12.1 (com.badlogicgames.gdx:gdx-box2d:1.12.1)

Go to the documentation to learn how to Fix dependency resolution errors.

I tried to watch the video to fix the duplicate class error, which you can find easily on youtube. Please help me 😭

Upvotes: -2

Views: 14

Answers (0)

Related Questions