Hi, im getting this error:
I dont know why, i just trying to restart my project and i just get this issue.
I dont know why, i just trying to restart my project and i just get this issue.
B4A Versión: 11.80
Parseando código. (0.35s)
Java Versión: 11
Building folders structure. (0.19s)
Compilando código. (0.42s)
Compilado códigos de diseños. (0.03s)
Organizando librerías. (0.03s)
(AndroidX SDK)
Compilando los recursos (1.37s)
Enlazando los recursos (0.88s)
Compilando el código del motor de depuración. (5.51s)
Compilando el código Java generado. (6.75s)
Buscando librerias que necesitan ser dexed. (0.03s)
Dex: okhttputils2 (1.45s)
Dex: okhttp (1.11s)
Dex: okhttp-3.5.0 (2.59s)
Dex: okhttp-4.9.0 (3.10s)
Dex: okhttp-urlconnection-4.9.3 (0.94s)
Dex code (3.59s)
Dex merge Error
Error in C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-3.5.0-63716533078000\dex_v1\okhttp-3.5.0.zip:classes.dex:
Type okhttp3.Address is defined multiple times: C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-3.5.0-63716533078000\dex_v1\okhttp-3.5.0.zip:classes.dex, C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63792636470000\dex_v1\okhttp-4.9.0.zip:classes.dex
Compilation failed
Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-3.5.0-63716533078000\dex_v1\okhttp-3.5.0.zip:classes.dex
at com.android.tools.r8.utils.w.a(SourceFile:92)
at com.android.tools.r8.D8.main(D8.java:4)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-3.5.0-63716533078000\dex_v1\okhttp-3.5.0.zip:classes.dex
at Version.fakeStackEntry(Version_3.0.41-dev.java:0)
at com.android.tools.r8.utils.w.a(SourceFile:68)
at com.android.tools.r8.utils.w.a(SourceFile:28)
at com.android.tools.r8.utils.w.a(SourceFile:27)
at com.android.tools.r8.utils.w.b(SourceFile:3)
at com.android.tools.r8.D8.a(D8.java:17)
at com.android.tools.r8.D8.a(D8.java:15)
at com.android.tools.r8.utils.w.a(SourceFile:84)
... 1 more
Caused by: com.android.tools.r8.internal.b: Type okhttp3.Address is defined multiple times: C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-3.5.0-63716533078000\dex_v1\okhttp-3.5.0.zip:classes.dex, C:\Android\sdk\tools\..\extras\b4a_local\unpacked-okhttp-4.9.0-63792636470000\dex_v1\okhttp-4.9.0.zip:classes.dex
at com.android.tools.r8.internal.TA.a(SourceFile:14)
at com.android.tools.r8.internal.TA.a(SourceFile:22)
at com.android.tools.r8.internal.Ew.b(SourceFile:6)
at com.android.tools.r8.internal.Ew.a(SourceFile:23)
at com.android.tools.r8.internal.Ew.a(SourceFile:10)
at java.base/java.util.concurrent.ConcurrentHashMap.merge(ConcurrentHashMap.java:2048)
at com.android.tools.r8.internal.Ew.a(SourceFile:6)
at com.android.tools.r8.graph.I0$c.f(SourceFile:3)
at com.android.tools.r8.dex.a.a(SourceFile:94)
at com.android.tools.r8.dex.a.a(SourceFile:23)
at com.android.tools.r8.D8.a(D8.java:21)
at com.android.tools.r8.D8.d(D8.java:6)
at com.android.tools.r8.D8.c(D8.java:1)
at com.android.tools.r8.utils.w.a(SourceFile:24)
... 5 more