问题
I've got project originally written in Eclipse as a separate Robotium project for the application project, that need to be tested. I wanted to import it into IntelliJ IDEA. The problem with IDEA is connected with visibility of that application project, I guess. I've added it as a module dependency, as suggested here. But it didn't help. IDEA still throws compilation errors like:
type parameter com.***.MyActivity is not within its bound
cannot find symbol constructor Solo(android.app.Instrumentation, com.***.MyActivity)
Any advice?
回答1:
Note that when you set dependencies between modules, libraries of the module will not be available for the other module by default, one needs to explicitly enable the Export checkbox for the corresponding libraries.
来源:https://stackoverflow.com/questions/12424392/robotium-problems-with-importing-android-robotium-project-from-eclipse-into-int