Android Question Compile Error: Uncaught translation error

FlyingEagle

Member
Licensed User
Longtime User
I updated via SDK-Manager the selected items ... after that I got this messsge when compiling my project. Why?


Compile Output:
B4A Version: 10.2
Java Version: 11
Parse den Code.    (0.13s)
Building folders structure.    (0.06s)
Führe individuellen Aktion aus.    (0.09s)
Kompiliere den Code.    (0.63s)
Kompiliere Layoutcode.    (0.06s)
Organisiere Libraries.    (0.00s)
    (AndroidX SDK)
Generiere R Datei.    (0.00s)
Kompiliere Debugger-Code    (3.73s)
Kompiliere generierten Java Code.    (4.81s)
Byte-Code konvertieren - optimiert dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzfw;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzfy;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzfz;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzga;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzgb;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzgc;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzgd;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzge;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/measurement/zzgf;
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
    at com.android.dx.command.dexer.Main.runDx(Main.java:293)
    at com.android.dx.command.dexer.Main.main(Main.java:249)
    at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
    ... 4 more
 

FlyingEagle

Member
Licensed User
Longtime User
I switched from Java 15 to 11, now it is gone.
I can not tell more for now ...

ah, and I removed "FirebaseNotifications" - Lib ... but later I want to use it ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…