Android Question Dex merg error defined multiple times

Hosein_Mghr

Member
Hello, dear friends.
I encounter this dex merg when compiling. Description,
When from the Firebasenotifictin library
I use a special library called Dexter
I get dex merg error when I remove Firebasenotifictin library the problem is fixed but I have to use Firebasenotifictin and Dexter library together if anyone can help I would be very grateful


Error Is : c:\android\tools\..\extras\b4a_local\unpacked-core-1.3.2.androidx-63826323194241\jars\classes.zip:classes.dex:
Type android.support.v4.os.ResultReceiver$1 is defined multiple times: c:\android\tools\..\extras\b4a_local\unpacked-core-1.3.2.androidx-63826323194241\jars\classes.zip:classes.dex, c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.3.1\unpacked-core-1.3.1\jars\classes.zip:classes.dex
Compilation failed

From
MultiDex: True
I also used it, but the problem was not solved. Can anyone solve the problem?
 

Hosein_Mghr

Member
The problem is not fixed and I am facing another error again. Do you know what it is?

******


... 1 more
Caused by: com.android.tools.r8.internal.f: Type android.support.v4.app.INotificationSideChannel is defined multiple times: c:\android\tools\..\extras\b4a_local\unpacked-core-1.3.2-63740761949541\jars\classes.zip:classes.dex, c:\android\tools\..\extras\b4a_remote\androidx\core\core\1.9.0\unpacked-core-1.9.0\jars\classes.zip:classes.dex
at com.android.tools.r8.internal.YS.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:14)
at com.android.tools.r8.internal.YS.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:22)
at com.android.tools.r8.internal.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:36)
at com.android.tools.r8.internal.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:10)
at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2056)
at com.android.tools.r8.internal.cN.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:6)
at com.android.tools.r8.graph.E2$a.e(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:4)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:105)
at com.android.tools.r8.dex.b.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:28)
at com.android.tools.r8.D8.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:25)
at com.android.tools.r8.D8.d(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:609)
at com.android.tools.r8.D8.c(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:1)
at com.android.tools.r8.internal.vj.a(R8_3.3.20-dev+aosp1_dd4c01853fd917497aef2d09abff533f0d25b062517ea74449d40e1778a34753:24)
... 5 more
 
Upvote 0

Similar Threads

Top