flutter / flutter/flutter

`Windows tool_integration_tests_2_9` failing on wrong Android NDK version

Open
#160,101 0 comments 2 reactions 0 assignees View on GitHub
P2 team-infra triaged-infra
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_2_9/874/infra

```
09:54 +6 -1: test/integration.shard/android_plugin_example_app_build_test.dart: FFI plugin example can be built using current Flutter Gradle plugin [E]
Exception: flutter build failed: 1
Your project is configured with Android NDK 26.1.10909125, but the following plugin(s) depend on a different Android NDK version:
- plugin_ffi_test requires Android NDK 27.0.12077973
Fix this issue by using the highest Android NDK version (they are backward compatible).
Add the following to C:\b\s\w\ir\x\t\flutter_flutter_ffi_plugin_test.7d47a08a\plugin_ffi_test\example\android\app\build.gradle.kts:

android {
ndkVersion = "27.0.12077973"
...
}


FAILURE: Build failed with an exception.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.