Java Question SLC: package R does not exist

Edson Freire

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

wGgMKlY


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

X30zk3U
 

DonManfred

Expert
Licensed User
Longtime 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:
Top