Reputation: 997
I'm following the course "Developing Android Apps" on udacity. I have a problem on Lesson4A with the test suite (TestUtilities) complaining "Task 'cleanTest' not found in root project 'Sunshine'. And then it points me to run with --stacktrace option.
But I don't know how I can run the command on the terminal in the first place. How can I see what gradle-tasks that android studio is running? Thanks :)
Upvotes: 7
Views: 5727
Reputation: 27
I believe you have not do the configuration at first, as the default configuration is not appropriate for this project.
Select Edit Configurations next to Run button on toolbar
Make a testing configuration, by click the + button and select Android Test.
Make sure you choose "Show Chooser dialog" in target device section if you are using Virtual devise like Genymotion
Hit OK and press the run button.
PS. Make sure your have this configuration under Android Test, and nothing under JUnit dropdown.
I was confused at first, but not anymore after I tried above steps from Udacity notes.
Upvotes: 0
Reputation: 559
At the bottom right corner of Android Studio you have different views:
Additionally, if your Gradle is running, will appear a 3rd one where you can see a progress bar with some information about the process. But if you want a full details use the 2 first views.
Upvotes: 3