On another PC I have B4A 10.0 and the example works fine. The same mistake happens with my app.
The following error appears during compilation: B4A Version: 10.2
Java Version: 11
Parsing code. (0.00s)
Building folders structure. (0.01s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. Error
AndroidManifest.xml:30: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').
*** Legacy debugger is deprecated. ***