-
Notifications
You must be signed in to change notification settings - Fork 117
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
Unable to run example test with patrol drive on Android #408
Comments
Hi @gmorva-wunder, thank you for filing the issue. 💙 I'm sorry that you encountered this problem. This is the first time I see such an error with Patrol 🤔 Could you check what version of Gradle are you using? You can do so by going to the For example, here's my output:
Also, try clearing Gradle cache. I'm waiting forward to your response :) |
Hi @bartekpacia, thanks for the fast response! My initial
After deleting the cache
I guess it's the same, but without the welcome message for some reason. Also, after clearing the cache, the following error was displayed when trying to run either the project or the tests: |
I'm happy that you got it working :) Thanks for using Patrol and for reporting problems :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Hi,
I am pretty new to patrol, so excuse me if I overlooked something. I am trying to run the example test with the following command:
patrol drive --target integration_test/app_test.dart
.Thanks for any help.
Error details
No device specified, using the first one (4fcf519f) ✓ Forwarded ports (13ms) ✓ Installed server (1.0s) ✓ Installed instrumentation (0.9s) Running app_test.dart with flutter_driver on 4fcf519f... pl.leancode.automatorserver.ServerLoop:
FAILURE: Build failed with an exception.
Gradle could not start your build.
BUILD FAILED in 1m
Gradle task assembleDebug failed with exit code 1
flutter_driver exited with code 1
See the logs above to learn what happened. If the logs above aren't useful then it's a bug – please report it.
Flutter doctor
[✓] Flutter (Channel stable, 3.3.2, on Ubuntu 22.04 LTS 5.15.0-48-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2021.3)
[✓] VS Code
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
The text was updated successfully, but these errors were encountered: