Could you provide a sample project that demonstrates this issue? Just a
simple "Hello world" app module and an additional test module would do.


On Mon, Jul 14, 2014 at 6:08 PM, Michael Wallstedt <[email protected]
> wrote:

> I have a project with separate modules for several libraries, a module for
> the application, and another module for the tests. In the test module,
> there are references back to the application, which IntelliJ seems to
> handle just find (i.e. ctrl+click takes me where I expect). However, if I
> "make" the test module, there are several errors about missing symbols from
> the application.
>
> I assume that when gradle eventually calls out to javac, the classpath is
> missing a reference to the application source. Could this be because the
> application module is generated from the 'com.android.application' plugin,
> as opposed to 'com.android.library'? I suppose I could extract another
> library just for the source that is referenced in tests, and wrap that with
> a thin shell to create the actual application, but this seems rather heavy
> handed. Is there a better way?
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to