patrol 3.6.1 Stuck at app:connectedDebugAndroidTest Failed

Steps to reproduce

  1. Clone https://github.com/alifaalfarizi/test_patrol
  2. Start Pixel_3a_API_33 (Emulator)
  3. Run patrol test patrol test -t integration_test/example_test.dart --verbose

Actual results

Capture

I encountered an issue while initializing the Patrol project. Upon initialization, I received the following error message: app:connectedDebugAndroidTest. Upon further inspection, the details of this error appeared to be empty.

Steps Taken:

  1. Initially, I attempted to initialize the project using the Patrol. following the guidelines outlined in https://patrol.leancode.co/getting-started.

  2. The error app:connectedDebugAndroidTest persisted.

  3. I created a new flutter project template https://github.com/alifaalfarizi/test_patrol but the error output still same.

    FAILURE: Build failed with an exception.

         * What went wrong:
         Execution failed for task ':app:connectedDebugAndroidTest'.
         See the report at: file:///D:/Project/latihan/test%20patrol/test_patrol/build/app/reports/androidTests/connected/index.html    
    
         * Try:
         > 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.
    
         * Get more help at https://help.gradle.org
    
         BUILD FAILED in 12s
         : > Task :app:connectedDebugAndroidTest FAILED
         : 85 actionable tasks: 5 executed, 80 up-to-date
         ✗ Failed to execute tests of apk with entrypoint test_bundle.dart on emulator-5554 
         (Gradle test execution failed with code 1) (12.9s)
         Exception: Gradle test execution failed with code 1
         #0      AndroidTestBackend.execute.<anonymous closure> 
         (package:patrol_cli/src/android/android_test_backend.dart:140:9)
         #1      DisposeScope.run (package:dispose_scope/src/dispose_scope.dart:46:7)
         <asynchronous suspension>
         #2      AndroidTestBackend.execute 
         (package:patrol_cli/src/android/android_test_backend.dart:106:5)
         <asynchronous suspension>
         #3      TestCommand._execute (package:patrol_cli/src/commands/test.dart:323:7)
         <asynchronous suspension>
         #4      TestCommand.run (package:patrol_cli/src/commands/test.dart:215:23)
         #5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
         <asynchronous suspension>
         #6      PatrolCommandRunner.runCommand 
         (package:patrol_cli/src/runner/patrol_command_runner.dart:347:18)
         <asynchronous suspension>
         #7      PatrolCommandRunner.run 
         (package:patrol_cli/src/runner/patrol_command_runner.dart:291:18)
         <asynchronous suspension>
         #8      patrolCommandRunner 
         (package:patrol_cli/src/runner/patrol_command_runner.dart:70:20)
         <asynchronous suspension>
         #9      main 
         (file:///C:/Users/myUser/AppData/Local/Pub/Cache/hosted/pub.dev/patrol_cli- 
         2.7.0/bin/main.dart:6:20)
         <asynchronous suspension>
    
         See the logs above to learn what happened. Also consider running with --verbose. If 
         the logs still aren't useful, then it's a bug - please report it.
         Uninstalling com.example.myapp from sdk gphone64 x86 64
         Uninstalling com.example.myapp.test from sdk gphone64 x86 64
    
</details>
### Patrol version
 patrol: ^3.6.1
### Patrol Doctor output
<details>
<summary>Patrol Doctor output</summary>
Patrol doctor:
Patrol CLI version: 2.7.0
Flutter command: flutter 
  Flutter 3.19.6 • channel stable
Android:
• Program adb found in C:UsersXPERTSPEDIADownloadsscrcpy-win64-v1.24adb.exe
• Env var $ANDROID_HOME set to C:UsersXPERTSPEDIAAppDataLocalAndroidSdk

Flutter Doctor output

Flutter Doctor output **I am using VS code to run the flutter app**

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.19045.4291], locale en-ID)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[!] Android Studio (version 2021.2)
    X Unable to determine bundled Java version.
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.88.1)
[√] Connected device (4 available)
[√] Network resources

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật