I have a library project A: package com.a
And I have another project B: package com.b
In project B, I use com.a.R.xxx
. <== It is OK.
But when I set project B is library project, Eclipse said
"com.a.R.xxx cannot be resolved to a variable".
I don't understand why Eclipse cannot find com.a.R
if B is a library project. Can anyone help me?