Android Question Error generating R file after "cleaning" Android folder

Didier9

Well-Known Member
Licensed User
Longtime User
I had to do some cleanup on my machine (running out of disk space) so I deleted the Android TV and Intel Atom System Images and Google APIs since I do not intend to use these.

Either that was misguided, or I also deleted something else I should not have...
I am now getting this error when compiling my project:

B4X:
B4A Version: 8.00
Parsing code.    (0.08s)
Compiling code.    (0.44s)
Compiling layouts code.    (0.05s)
Organizing libraries.    (2.50s)
Generating R file.    Error
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight

I have re-run the SDK manager and it seems I have everything I should need. I have not tried to restore the Atom and Android TV stuff and I am not planning to unless someone is positive I need them even if I do not plan to develop for these targets.

Any help appreciated.
 

Didier9

Well-Known Member
Licensed User
Longtime User
Try to delete the complete SDK folder and install it again.

Trying to keep disk space at a minimum, I am developing around Android 5.1 and 6.0. No Android Wear or Android TV or Atom. What SDK's should I install?
Is it safe to simply leave those items unchecked?
 
Upvote 0

Didier9

Well-Known Member
Licensed User
Longtime User
Thank you everybody, I am reinstalling the SDK. I must have deleted something I was not supposed to.
 
Upvote 0
Top