Can't resolve R.java from library dependency in ADT 17

Our team upgraded to ADT 17 and now I can't get our project to run anymore. We have a depency structure as follows:

com.c.R.java
{
     com.b.R.java
     {
          com.a.R.java
     }
}

where com.c depends on com.b and com.b depends on com.a. When I set a dependency on com.b.R in my "B" library I get runtime class not found exceptions. I am told by my buddy, (I'm ramping up on Android) that it is because IntelliJ is not up to date with the latest build tool chain from Google and that I will not be able to use this fantastic project without creating chaos. Is there an up to date ADT plugin available? Help!

2 comments
Comment actions Permalink

I just tried this again and indeed, it appears the transitive dependency from b -> a is removed from b but present in c. It also appears that this is behavior specific to ADT 17. Is there currently a fix or workaround that I should be aware of?

0
Comment actions Permalink

Hello, Clifton.

Really sorry for delay. It may be by ADT 17 you mean related version of Android SDK Tools, not ADT. ADT is a plugin for Eclipse provided by Google and it is not related with IntelliJ IDEA at all. If you mean SDK Tools, then, I recommend you to try latest EAP of IDEA 11.1.2, first. It may be the problem is already fixed there. If not, please submit an issue with detailed description of your problem (it is desirable to attach sample project) to our tracker. Thanks!

0

Please sign in to leave a comment.