Edson Freire Member Licensed User Longtime User Jan 28, 2019 #1 I'm trying to compile a library, but I got this error "package R does not exist" I tried to move R.java to src/(package folder) but I got another error "error: duplicate class" this does not makes sense.
I'm trying to compile a library, but I got this error "package R does not exist" I tried to move R.java to src/(package folder) but I got another error "error: duplicate class" this does not makes sense.
DonManfred Expert Licensed User Longtime User Jan 28, 2019 #2 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: Jan 28, 2019
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.