How do I see gradle tasks performed by Android Studio?

I am following the Android App Development ’course on udacity. I have a problem with Lesson4A when a test suite (TestUtilities) complains about a "Task" cleanTest that was not found in the root project "Sunshine". And then it tells me to start with the -stacktrace option.

But I do not know how I can run a command on a terminal in the first place. How can I see that gradle -tasks works in android studio? Thanks:)

+6
source share
2 answers

In the lower right corner of Android Studio you have different views:

  • Console
  • Gradle
  • The event log

In addition, if your Gradle is running, a third will appear where you can see a progress bar with some information about this process. But if you want full information to use the first 2 types.

+2
source

I assume that you did not do the configuration first, since the default configuration is not suitable for this project.

  • Select Change Configurations next to the Run button on the toolbar.

  • Make a test configuration by pressing the + button and select Test for Android .

  • Make sure you select "Show selection dialog" in the target device section if you are using Virtual devise, such as Genymotion

  • Click OK and click the Run button.

PS. Make sure your configuration is in Android Test and nothing is displayed in the JUnit drop-down list.

At first I was confused, but no more than that, after I tried to take steps from the Udacity notes.

0
source

Source: https://habr.com/ru/post/988699/


All Articles