Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStephen Emery
14,384 PointsSolution to: Robolectric can't find Android Manifest
Mac and Linux users: There is a known issue that needs to be addressed so that tests can be located properly. Go to Run -> Edit Configurations. In the left side click the arrow next to: Android Junit. Select the test you are running Robolectric with. In the center look for "Working Directory". If it is empty, paste in: $MODULE_DIR$
This should make the error go away.
5 Answers
Arthur Khakimov
6,195 PointsThanks, helped.
tianyang zhong
3,614 PointsThanks a lot, It could also work in windows.
Laurie Wu
709 PointsThanks! I had the same problem on windows.
Tyler Turnbull
10,997 PointsThankyou!!!!
Maria Fedoseev
1,677 Pointsthanks ))
Chris Gaona
Full Stack JavaScript Techdegree Graduate 31,350 PointsChris Gaona
Full Stack JavaScript Techdegree Graduate 31,350 PointsNice! it worked for me on a Mac.