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.