Conversation
|
Command used Log error
patrol build android --target integration_test/house_mocked_integration_test.dart,integration_test/house_mocked_integration2_test.dart --dart-define=isTestApp=true ✗ Failed to build apk with entrypoint test_bundle.dart (Gradle build failed with code 1) (9.2s) |
android/app/build.gradle
Outdated
| defaultConfig { | ||
| applicationId "com.malugu.housestats" | ||
| minSdkVersion flutter.minSdkVersion | ||
| minSdkVersion 19 |
There was a problem hiding this comment.
had to change this for multidex
|
|
||
| dependencies { | ||
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
| implementation "androidx.multidex:multidex:2.0.1" |
There was a problem hiding this comment.
had to add it for multidex
| expect($('House details'), findsOneWidget); | ||
| expect($('1house'), findsOneWidget); | ||
| }, | ||
| nativeAutomation: true, |
There was a problem hiding this comment.
That's because you're using Dart older than 2.17.
https://dart.dev/guides/language/evolution#dart-217
Dart 2.17 removed some restrictions on named arguments. Named arguments can now be freely interleaved with positional arguments.

Currently running into
Now able to invoke the test locally with
patrol test --target integration_test/house_mocked_integration_test.dart --dart-define=isTestApp=true --verboseand runs on my device