android - Can not use R class of library project -


i have library project a: package com.a

and have project b: package com.b

in project b, use com.a.r.xxx. <== it ok.

but when set project b library project, eclipse said

"com.a.r.xxx cannot resolved variable".

i don't understand why eclipse cannot find com.a.r if b library project. can me?

this common bug. possible solutions include:

  • clean projects , rebuild

  • there error in xml file (or specific one) preventing file being loaded properly

  • android developer tools out of date. run update in sdk manager , eclipse plugin


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -