Android Question Error B4A

Tata Mapassa

Member
Licensed User
Longtime User
Hello, below error while compiling:
B4A Version : 12.80
Analyse du code. (0.04s)
Java Version : 14
Building folders structure. (0.06s)
Compilation du code. (0.08s)
Compilation du code des layouts. (0.07s)
Organiser les bibliothèques. (0.08s)
(AndroidX SDK)
Resources de compilation (1.85s)
Resources de chaînage (0.89s)
Compilation du code Java. Error
src\com\gombe\associationcgm\starter.java:60: error: 'void' type not allowed here
if (ServiceHelper.StarterHelper.runWaitForLayouts() == false) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

javac 14.0.1
thank you
 

Sagenut

Expert
Licensed User
Longtime User
Did you upgraded from a B4A version prior to 12.50?
In this case you need to even download the new SDK.
Follow exactly and carefully all the steps here, like a first install:
https://www.b4x.com/b4a.html
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…