Any reason my layout is not being found? this is R...
# android
n
Any reason my layout is not being found? this is R
Copy code
com.nikolam.nsdkelper public final class com.nikolam.nsdkelper.R
and this is what's happening, the last thing i added was my library module to my app.gradle
Copy code
dependancies{
implementation project(":nsdkelper")
}
I tried the solutions found online, the cache, the rebuild and so on, but haven't had any luck.
s
The only thing I see would be this: https://developer.android.com/studio/projects/android-library#PrivateResources There a mechanism to declare public resource of a library. However:
All resources in a library default to public.
Did you declare at least one public resource in your lib making the rest private ?
n
Thank you! After reading about it I understand why was this the issue.
s
So did you find your solution ? 🙂