Closed anuhbav-growthschool closed 2 months ago
Hi @anuhbav-growthschool, Issue looks like problem with patrol configuration, go for configuration once again if it wont help please look for help at our discord https://discord.com/invite/ukBK5t4EZg. If issue will still persist, please create issue once again and provide a minimal reproducible example so we could investigate this issue (cloned repository with problem). Cheers, Kendru.
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.
Steps to reproduce
followed the installation steps from official documentation of patrol, for the example test.dart for android and getting this error after patrol test
Actual results
getting the below text but its not running on emulator or any physical device -
Error: Gradle build failed to produce an .apk file. It's likely that this file was generated under /Users/anubhavmishra/Documents/outskill-app/build, but the tool couldn't find it. package:flutter_tools/src/base/common.dart 10:3 throwToolExit package:flutter_tools/src/android/gradle.dart 1124:3 _exitWithExpectedFileNotFound package:flutter_tools/src/android/gradle.dart 576:9 AndroidGradleBuilder.buildGradleApp ===== asynchronous gap =========================== package:flutter_tools/src/android/gradle.dart 224:5 AndroidGradleBuilder.buildApk ===== asynchronous gap =========================== package:flutter_tools/src/android/android_device.dart 584:7 AndroidDevice.startApp ===== asynchronous gap =========================== package:flutter_tools/src/test/integration_test_device.dart 55:39 IntegrationTestTestDevice.start
Logs
Logs
``` : > Task :app:mergeProductionDebugNativeLibs UP-TO-DATE : > Task :app:stripProductionDebugDebugSymbols UP-TO-DATE : > Task :app:validateSigningProductionDebug UP-TO-DATE : > Task :app:writeProductionDebugAppMetadata UP-TO-DATE : > Task :app:writeProductionDebugSigningConfigVersions UP-TO-DATE : > Task :app:packageProductionDebug UP-TO-DATE : > Task :app:createProductionDebugApkListingFileRedirect UP-TO-DATE : > Task :app:mergeProductionDebugAndroidTestShaders UP-TO-DATE : > Task :app:compileProductionDebugAndroidTestShaders NO-SOURCE : > Task :app:generateProductionDebugAndroidTestAssets UP-TO-DATE : > Task :app:mergeProductionDebugAndroidTestAssets UP-TO-DATE : > Task :app:compressProductionDebugAndroidTestAssets UP-TO-DATE : > Task :app:checkProductionDebugAndroidTestDuplicateClasses UP-TO-DATE : > Task :app:desugarProductionDebugAndroidTestFileDependencies UP-TO-DATE : > Task :app:mergeExtDexProductionDebugAndroidTest UP-TO-DATE : > Task :app:mergeLibDexProductionDebugAndroidTest UP-TO-DATE : > Task :app:processProductionDebugAndroidTestJavaRes NO-SOURCE : > Task :app:mergeProductionDebugAndroidTestJavaResource UP-TO-DATE : > Task :app:mergeProductionDebugAndroidTestJniLibFolders UP-TO-DATE : > Task :app:mergeProductionDebugAndroidTestNativeLibs NO-SOURCE : > Task :app:dexBuilderProductionDebugAndroidTest : > Task :app:mergeProjectDexProductionDebugAndroidTest UP-TO-DATE : > Task :app:validateSigningProductionDebugAndroidTest UP-TO-DATE : > Task :app:writeProductionDebugAndroidTestSigningConfigVersions UP-TO-DATE : > Task :app:packageProductionDebugAndroidTest UP-TO-DATE : > Task :app:createProductionDebugAndroidTestApkListingFileRedirect UP-TO-DATE : > Task :app:connectedProductionDebugAndroidTest : Starting 0 tests on 2312BPC51H - 14 : : Test results saved as file:/Users/anubhavmishra/Documents/outskill-app/build/app/outputs/androidTest-results/connected/flavors/production/2312BPC51H%20-%2014/test-result.pb. Inspect these results in Android Studio by selecting Run > Import Tests From File from the menu bar and importing test-result.pb. : : Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. : : You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. : : See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings : : BUILD SUCCESSFUL in 56s : 905 actionable tasks: 23 executed, 882 up-to-date ✓ Completed executing apk with entrypoint test_bundle.dart on device ZPRCCMLV4TB67LOJ (56.7s)```Patrol version
patrol: 3.10.0
Patrol Doctor output
Patrol Doctor output
``` Patrol doctor: Patrol CLI version: 3.1.0 Flutter command: flutter Flutter 3.24.1 • channel stable Android: • Program adb found in /Users/anubhavmishra/Library/Android/sdk/platform-tools/adb • Env var $ANDROID_HOME set to /Users/USERNAME/Library/Android/sdk iOS / macOS: • Program xcodebuild found in /usr/bin/xcodebuild • Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller```Flutter Doctor output
Flutter Doctor output
``` Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.1, on macOS 14.5 23F79 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] VS Code (version 1.88.0) [✓] Connected device (5 available) [✓] Network resources • No issues found! ```