You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received the following error when trying to execute the demo code:
flutter % flutter run
Resolving dependencies... (2.5s)
ffi 1.1.2 (2.1.2 available)
> file 7.0.0 (was 6.1.4)
+ leak_tracker 10.0.0 (10.0.5 available)
+ leak_tracker_flutter_testing 2.0.1 (3.0.5 available)
+ leak_tracker_testing 2.0.1 (3.0.1 available)
lints 1.0.1 (3.0.0 available)
> matcher 0.12.16+1 (was 0.12.16)
> material_color_utilities 0.8.0 (was 0.5.0) (0.11.1 available)
> meta 1.11.0 (was 1.10.0) (1.14.0 available)
> path 1.9.0 (was 1.8.3)
path_provider 2.0.9 (2.1.3 available)
path_provider_android 2.0.11 (2.2.4 available)
path_provider_ios 2.0.7 (2.0.11 available)
> path_provider_linux 2.1.11 (was 2.1.5) (2.2.1 available)
path_provider_macos 2.0.5 (2.0.7 available)
path_provider_platform_interface 2.0.3 (2.1.2 available)
path_provider_windows 2.0.5 (2.2.1 available)
> platform 3.1.4 (was 3.1.2)
plugin_platform_interface 2.1.2 (2.1.8 available)
> process 5.0.2 (was 4.2.4)
test_api 0.6.1 (0.7.1 available)
> vm_service 13.0.0 (was 11.10.0) (14.2.1 available)
> webdriver 3.0.3 (was 3.0.2)
win32 2.4.1 (5.4.0 available)
> xdg_directories 1.0.4 (was 0.2.0+1)
These packages are no longer being depended on:
- web 0.3.0
Changed 15 dependencies!
18 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Launching lib/main.dart on Pixel 4 in debug mode...
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply
You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply
Warning: The plugin integration_test requires Android SDK version 34 or higher.
For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /Users/julianpscheid/Documents/code-repos/hedy/Picovoice/cheetah/demo/flutter/android/app/build.gradle:
android {
compileSdkVersion 34
...
}
lib/main.dart:156:9: Error: No named parameter with the name 'primary'.
primary: picoBlue,
^^^^^^^
../../../../../SDKs/flutter/packages/flutter/lib/src/material/elevated_button.dart:151:22: Context: Found this candidate, but the arguments don't match.
static ButtonStyle styleFrom({
^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* Where:
Script '/Users/julianpscheid/Documents/code-repos/SDKs/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1419
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/julianpscheid/Documents/code-repos/SDKs/flutter/bin/flutter'' finished with non-zero exit value 1
* 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 31s
Running Gradle task 'assembleDebug'... 32.3s
Error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered:
I received the following error when trying to execute the demo code:
The text was updated successfully, but these errors were encountered: