Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Android studio breaks R file navigation #12

Open
georgepapas opened this issue Jul 14, 2014 · 0 comments
Open

Integration with Android studio breaks R file navigation #12

georgepapas opened this issue Jul 14, 2014 · 0 comments

Comments

@georgepapas
Copy link
Contributor

When introducing robospock into the my test project, android studio is no longer able to navigate to the actual R file value definitions, as defined in xml, or the layout definitions. i.e. If I have the following project structure

- app
- unit-test (robospock)

then when I'm in say an activity and ctrl-click from an R reference to get to the actual definition, android studio takes me to the r.class file instead of the actual definition. I can only think that somehow, adding the main apps java source sets as source sets in the the 'unit-test' project confuse studio in some way.

Any suggestions as to how to resolve this? I've experimented with adding just the main apps classpath and output dir as a classpath dependency of the test-app and although the tests run, we loose the nicety of source file -> test file navigation via the ide. Any suggestions would be appreciated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant