Java Question SLC: package R does not exist

Edson Freire

Licensed User
I'm trying to compile a library, but I got this error "package R does not exist"

I tried to move to src/(package folder) but I got another error "error: duplicate class" this does not makes sense. :(



Licensed User
you can not compile a Android Studio (or Eclips) Project with SLC.
A B4A Library usually do not need an R File.

Start with compiling the Android Studio project with Android Studio and create a AAR from it.
Ectract the classes.jar from the aar and use it in your libs folder.
Last edited: