B4A Versione: 10.70
Analisi del Codice. (0.00s)
Java Versione: 11
Building folders structure. (0.09s)
Compilazione del codice. (0.02s)
Compilazione del codice di layouts (0.00s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Compiling resources (0.70s)
Linking resources Error
AndroidManifest.xml:138: error: resource style/Theme.IAPTheme (aka aaa.nomeapp.sottonome:style/Theme.IAPTheme) not found.
error: failed processing manifest.
I am trying to follow the example on FCM notifications but when I try to compile I get the error indicated in the log above
The example was created by starting the IDE b4a and doing File / New / Default, and then adding the code as in the example Erel
I am using Ide B4A 10.70, jdk 11-0-1, on Win 10 64 bit
What can it depend on and how to solve it?
No, I was wrong, something has actually changed
A program that I compiled correctly with version 10.70 now does not compile anymore
Send this report out (also with min-sdk-version=26 on Manifest, normally i use 15)
B4X:
B4A Versione: 11.00
Analisi del Codice. (0.21s)
Java Versione: 11
Building folders structure. (0.20s)
Esecuzione azione personalizzata. (0.07s)
Compilazione del codice. (0.45s)
Compilazione del codice di layouts (0.02s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Compiling resources (0.06s)
Linking resources (0.43s)
Compilazione del codice debugger. (0.04s)
Compilazione del codice Java prodotto. (0.06s)
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: 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
SDK 30 was there before and is still there, after extracting the contents from the files
resources_06_21.zip
commandlinetools-win-6609375_latest.zip
and copying their contents in the indicated locations (I followed the example and always used c:\android )
The instructions described at the link https://www.b4x.com/b4a.html were carried out step by step, without adding anything and without forgetting anything
Unfortunately, even so, the described anomaly is not resolved
Perhaps the indicated procedure is not valid in all cases of installations already carried out
No, no cancellation was made
I followed exactly the procedure indicated at the link https://www.b4x.com/b4a.html and among the indications there is NO deletion of any directories present
And yes, sdk 30 was already indicated before, and I verified that it was also indicated after updating from 10.70 to 11.00