I am using Exoplayer and when I try to compile projects that use it I get the following:
B4A Version: 10.90
Parsing code. (0.26s)
Java Version: 11
Building folders structure. (0.15s)
Compiling code. (0.41s)
Compiling layouts code. (0.04s)
Organizing libraries. (0.03s)
(AndroidX SDK)
Compiling resources (2.18s)
Linking resources (0.53s)
Compiling debugger engine code. (4.23s)
Compiling generated Java code. (3.77s)
Convert byte code - optimized dex. Error
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/AudioBecomingNoisyManager$AudioBecomingNoisyReceiver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$ExternalSurroundSoundSettingObserver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$HdmiAudioPlugBroadcastReceiver;
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.runMultiDex(Main.java:366)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
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
I have no idea how to "desugar" anything, and I am at a loss. I have one machine that I can still compile on, but that scares me to death!
Any thoughts?
B4A Version: 10.90
Parsing code. (0.26s)
Java Version: 11
Building folders structure. (0.15s)
Compiling code. (0.41s)
Compiling layouts code. (0.04s)
Organizing libraries. (0.03s)
(AndroidX SDK)
Compiling resources (2.18s)
Linking resources (0.53s)
Compiling debugger engine code. (4.23s)
Compiling generated Java code. (3.77s)
Convert byte code - optimized dex. Error
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/AudioBecomingNoisyManager$AudioBecomingNoisyReceiver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$ExternalSurroundSoundSettingObserver;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/exoplayer2/audio/AudioCapabilitiesReceiver$HdmiAudioPlugBroadcastReceiver;
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.runMultiDex(Main.java:366)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
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
I have no idea how to "desugar" anything, and I am at a loss. I have one machine that I can still compile on, but that scares me to death!
Any thoughts?