question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Code health] Error running instrumentated tests in Android Studio

See original GitHub issue

Running androidTest package or individual classes with the staging variant enabled, I get:

Task 'assembleStagingAndroidTest' not found in project ':gnd'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

@shobhitagarwal1612 Any idea what I could be missing?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
shobhitagarwal1612commented, Jul 6, 2021

Yes, I had a pair debugging session with Heman as well. And it was working for him too. Maybe try invalidate cache & restart?

0reactions
gino-mcommented, Jul 6, 2021

Will do. If you confirmed this is working we can close it for now. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build instrumented tests | Android Developers
Instrumented tests run on Android devices, whether physical or emulated. ... to quickly build and run instrumented test code for your apps.
Read more >
Code Coverage for Android Testing - Rally Health
To get coverage reports for instrumentation tests, in the android DSL block, set the testCoverageEnabled flag to true. AndroidJUnitRunner runs ...
Read more >
Error "No tests found" when running Android instrumentation ...
I have created a simple test case for login activity in android studio. But I got an error and I could not solve...
Read more >
Easy Instrumented Tests (UI Tests) for Android in 2021
Instrumented tests are tests that run on physical devices and emulators, ... some weird gradle errors and didn't even reach to run our...
Read more >
Android Studio Bumblebee (2021.1.1) Stable
Run Instrumented Tests in Android Studio using Gradle: Have you ... Each track labels the frames with a frame number and color-codes the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found