Went away on its own, somehow...

On Tuesday, February 9, 2016 at 5:01:09 PM UTC+2, Eran Berkovitz wrote:
>
> Hi,
>
> I'm currently splitting my current library project, to 3 projects.
> So basically, I want to have *com.my.libA,* *com.my.libB* which both 
> depend on *com.my.lib_common*.
>
> In addition, I want to have *com.my.lib_common* hold resources which will 
> be used by the other two.
>
> Finally, there's an *application* project which depends on *com.my.libB*.
>
> But here is where I fail. 
>
> I can use *R.string.some_string* from my common library in the other two 
> but then I get an *exception at runtime* saying "No static field 
> some_string of type I in class Lcom/my/libB.R$string; or its superclasses 
> (declaration of 'com.my.libB.R$string' appears in 
> /data/app/com.my_domain.app-1/base.apk)".
>
> On the other hand, if I use *com.my.lib_common.R.string.some_string*, I 
> get a compilation error.
>
> Am I missing something?
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8c866f62-fddd-4651-9f5b-408669e65698%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to