Hello evryone,
I cannot compile a project that uses FirebaseNotificanions library because return the following error:
The project is an empty test project in which I've added only the FirebaseAnalitycs and FirebaseNotifications libraries. I've created this test project because I've the same problem in another more complex project that use more libraries, so I've created the empty new one and added only the last two libraries added to the original project and the problem is verified.
In addition, if it could be usefull, I've deselected only the FirebaseNotifications library and the compilation ends without problems. I've also try the solution of the the thread
but with no luck.
I attach the test project and the installed-components.txt to show the versions of the SDK component used. I attach also the screenshot of the configuration path window.
Thanks for the attention.
Bye
I cannot compile a project that uses FirebaseNotificanions library because return the following error:
B4X:
B4A Versione: 10.70
Analisi del Codice. (0.03s)
Java Versione: 8
Building folders structure. (0.02s)
Esecuzione azione personalizzata. (0.13s)
Compilazione del codice. (0.06s)
Compilazione del codice di layouts (0.00s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Compiling resources (0.09s)
Linking resources (0.66s)
Compilazione del codice Java prodotto. (0.03s)
Conversione byte code - ottimizzazione dex. Error
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/firebase/iid/FirebaseInstanceIdReceiver;
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
3 errors; aborting
The project is an empty test project in which I've added only the FirebaseAnalitycs and FirebaseNotifications libraries. I've created this test project because I've the same problem in another more complex project that use more libraries, so I've created the empty new one and added only the last two libraries added to the original project and the problem is verified.
In addition, if it could be usefull, I've deselected only the FirebaseNotifications library and the compilation ends without problems. I've also try the solution of the the thread
[SOLVED] Error compiling after latest Sdk update
I have updated SDK yesterday, today i've tryed compile Apk, before sdk update it's compile right. Now i have this error : B4A Versione: 10.70 Analisi del Codice. (1.49s) Java Versione: 11 Building folders structure. (0.09s) Compilazione del codice. (3.21s) Compilazione del codice...
www.b4x.com
I attach the test project and the installed-components.txt to show the versions of the SDK component used. I attach also the screenshot of the configuration path window.
Thanks for the attention.
Bye