Android Question Compilation Error B4A Versione: 12.80

Pesciolina

Active Member
Licensed User
Longtime User
Good morning,

recompiling the project made with a previous version I get the following error and I can't understand where I need to intervene

Thanks for your help

Compilazione del codice Java prodotto. Error
gen\androidx\core\ktx\R-MARBAR.java:10: error: class R is public, should be declared in a file named R.java
public final class R {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
 

Attachments

  • R.java
    41.2 KB · Views: 113

MarcoRome

Expert
Licensed User
Longtime User
Hi.

1. Try cleaning up the project

1704101173911.png


after cleaning try to recompile.


2. Install anyway new android sdk


1704101046828.png
 
Upvote 0

Pesciolina

Active Member
Licensed User
Longtime User
I also installed 12.8 thinking I had some broken libraries.
Now I try to install the SDK even if all the other apps compile correctly

Thanks and happy new year
 
Upvote 0
Top