I am trying to get crashlytics to work. I have a stripped down project with only Crashlytics and InAppReview libraries. I am getting the following error:
This is all I have for the libraries to start.
Starting over with a clean SDK / resources folder, I get a series of errors requiring installation of additional resources from the SDK manager.
Adding the InAppReview library, I get the following:
After installing that, I get the following in the stripped down crashlytics only test app:
So, I install the 16.1.0 firebase-encoders package. After doing so and attempting to compile, I get the original message referenced at the start of this post.
Any ideas?
B4X:
Compiling generated Java code. (1.34s)
Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/DataEncoder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/Encoder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/EncodingException;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/ObjectEncoder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/ObjectEncoderContext;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/ValueEncoder;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/ValueEncoderContext;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/annotations/Encodable;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/firebase/encoders/annotations/Encodable$Field;
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
This is all I have for the libraries to start.
Starting over with a clean SDK / resources folder, I get a series of errors requiring installation of additional resources from the SDK manager.
Adding the InAppReview library, I get the following:
After installing that, I get the following in the stripped down crashlytics only test app:
So, I install the 16.1.0 firebase-encoders package. After doing so and attempting to compile, I get the original message referenced at the start of this post.
Any ideas?