简体   繁体   中英

Robotium: Problems with importing Android Robotium project from Eclipse into IntelliJ

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?

请注意,当您设置模块之间的依赖关系时,默认情况下该模块的库将不可用于其他模块,因此需要显式启用相应库的“ 导出”复选框。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM