You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to my robospock tests for my Adroid app on intellij idea 13.1. Android project is gradle based. I have created a new groovy module for my android gradle project, used the sample build.gradle as shown in robospock.org but I keep getting a message that android support v4 lib cannot be resolved. I manually copied the jar in a lib folder on my test subproject and added the appropriate compile dependencies. However, now I cannot run the tests because they are shown as Junit... Can you please give me a short step by step guide on what to do in order to use the plugin?
P.S. also, if that helps, on project setup, after each gradle sync, content roots are being automatically added for the test project which point to main android project dirs and cause an error. I have to manually remove them each time...
The text was updated successfully, but these errors were encountered:
Ad. the PS. yes I'm having the same problem and for now I don't have any idea how to trick IntelliJ.
Going back to the main issue. I think IntelliJ in Java/Groovy plugins don't see the local Google repository ( $ANDROID_HOME/extras/android/m2repository ). I'll check in my project anyway.
Moreover IntelliJ has problems with understanding aar dependencies in Java/Groovy plugins.
Hello, I am trying to my robospock tests for my Adroid app on intellij idea 13.1. Android project is gradle based. I have created a new groovy module for my android gradle project, used the sample build.gradle as shown in robospock.org but I keep getting a message that android support v4 lib cannot be resolved. I manually copied the jar in a lib folder on my test subproject and added the appropriate compile dependencies. However, now I cannot run the tests because they are shown as Junit... Can you please give me a short step by step guide on what to do in order to use the plugin?
P.S. also, if that helps, on project setup, after each gradle sync, content roots are being automatically added for the test project which point to main android project dirs and cause an error. I have to manually remove them each time...
The text was updated successfully, but these errors were encountered: