Hey guys...
I am a student at FATEC Jensen Vital in São José dos Campos and I am trying to develop a work to be delivered to the school.
I'm trying to make the connection between B4A and Firebase by following these tutorials:
* Fonts in the 1st. comment.
Well then; at compile time there were 7 errors:
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
I went into SDK Manager and updated a bunch of libraries.
Out of the 7 errors only 1 continued.
I spent a few days without touching the project.
Today I loaded it and tried again. Ouch:
B4A Versão: 11.00
Analisando o código. (0.03s)
Java Versão: 11
Building folders structure. (0.15s)
Compilando o código (0.10s)
Compilando código dos layouts. (0.04s)
Organizando bibliotecas (0.00s)
(AndroidX SDK)
Compilando recursos (2.50s)
Linkando recursos (2.19s)
Compilando o código Java. (5.82s)
Convertendo Byte Code - DEX otimizado. 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: 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: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
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
When typing: firebase in SDK Manager appears:
com.google.firebase:firebase-good (Google Maven) version: 29.0.0
And with the unchecked box.
If I mark it and click on "Install Selected", the following message appears.
Again that "gigantic" list of installed libraries and versions appears and this exclusively appears as unmarked.
In the process of trying to download and install it, the following message appears (Error???):
B4A Sdk Manager: 4.00
TempFolder = C:\Users\Euclides\AppData\Roaming\ANYWHE~1\BASIC4~1\temp
DataFolder: C:\Users\Euclides\AppData\Roaming\B4ASdkManager
SDK version: 6609375
Downloading: https://dl.google.com/dl/android/maven2/master-index.xml
Downloading: https://dl.google.com/dl/android/ma...e/firebase-bom/29.0.0/firebase-bom-29.0.0.pom
Downloading: https://dl.google.com/dl/android/ma...e/firebase-bom/29.0.0/firebase-bom-29.0.0.jar
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That’s an error.</ins>
<p> <ins>That’s all we know.</ins>
And again the same sequence of errors as above.
How this all should not have happened, since I didn't mess with the code. My question:
Can you identify where the problem is?
Like?
What to do?
Any suggestion?
I appreciate the attention of everyone who can give me a light.
Euclides Franco de Rezende.
euclas@gmail.com
I am a student at FATEC Jensen Vital in São José dos Campos and I am trying to develop a work to be delivered to the school.
I'm trying to make the connection between B4A and Firebase by following these tutorials:
* Fonts in the 1st. comment.
Well then; at compile time there were 7 errors:
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
I went into SDK Manager and updated a bunch of libraries.
Out of the 7 errors only 1 continued.
I spent a few days without touching the project.
Today I loaded it and tried again. Ouch:
B4A Versão: 11.00
Analisando o código. (0.03s)
Java Versão: 11
Building folders structure. (0.15s)
Compilando o código (0.10s)
Compilando código dos layouts. (0.04s)
Organizando bibliotecas (0.00s)
(AndroidX SDK)
Compilando recursos (2.50s)
Linkando recursos (2.19s)
Compilando o código Java. (5.82s)
Convertendo Byte Code - DEX otimizado. 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: 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: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
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
When typing: firebase in SDK Manager appears:
com.google.firebase:firebase-good (Google Maven) version: 29.0.0
And with the unchecked box.
If I mark it and click on "Install Selected", the following message appears.
Again that "gigantic" list of installed libraries and versions appears and this exclusively appears as unmarked.
In the process of trying to download and install it, the following message appears (Error???):
B4A Sdk Manager: 4.00
TempFolder = C:\Users\Euclides\AppData\Roaming\ANYWHE~1\BASIC4~1\temp
DataFolder: C:\Users\Euclides\AppData\Roaming\B4ASdkManager
SDK version: 6609375
Downloading: https://dl.google.com/dl/android/maven2/master-index.xml
Downloading: https://dl.google.com/dl/android/ma...e/firebase-bom/29.0.0/firebase-bom-29.0.0.pom
Downloading: https://dl.google.com/dl/android/ma...e/firebase-bom/29.0.0/firebase-bom-29.0.0.jar
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/logos/errorpage/error_logo-150x54-2x.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That’s an error.</ins>
<p> <ins>That’s all we know.</ins>
And again the same sequence of errors as above.
How this all should not have happened, since I didn't mess with the code. My question:
Can you identify where the problem is?
Like?
What to do?
Any suggestion?
I appreciate the attention of everyone who can give me a light.
Euclides Franco de Rezende.
euclas@gmail.com