0

I want to use ssh and v2ray at the same time in the same project. I use libv2ray.aar and tun2socks.aar libraries.

But unfortunately, I encounter the following error:

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class go.Seq found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$GoObject found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$GoRef found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$GoRefQueue found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$GoRefQueue$1 found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$Proxy found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$Ref found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$RefMap found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Seq$RefTracker found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Universe found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.Universe$proxyerror found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:) Duplicate class go.error found in modules libv2ray-runtime (:libv2ray:) and tun2socks-runtime (:tun2socks:)

 Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
ali riahi
  • 106
  • 2
  • 6

0 Answers0