Android Question Error while "Compiling generated Java code."


Licensed User
Longtime User
Hello Community

While compiling, I get the following error message (B4A 12.80):

Begin error code ---------------------------------------------------------

Parsing code. (0.20s)
Java Version: 14
Building folders structure. (0.02s)
Compiling code. (0.29s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.06s)
Linking resources (0.36s)
Compiling debugger engine code. (0.02s)
Compiling generated Java code. Error
error: invalid flag: gen\androidx\savedstate\R
Usage: javac <options> <source files>
use --help for a list of possible options

javac 14.0.1

End error code ---------------------------------------------------------

Anybody has an idea what could be the problem?

Thank you


Licensed User
Longtime User
Good morning Erel
Thank you for your kind reply.

Yes, it worked previously.
Don't really know what happened.
The only thing I did, was adding some code.
Trying step by step to locate error, walking back code I changed.
Upvote 0