Skip to content

Commit ff77fe3

Browse files
committed
update README about ndkVersion.
The error can look like this on older versions: Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version: - onesignal_flutter requires Android NDK 27.0.12077973 Fix this issue by using the highest Android NDK version (they are backward compatible). Add the following to /Users/nanli/Documents/GitHub/OneSignal-Flutter-SDK/example/android/app/build.gradle.kts: android { ndkVersion = "27.0.12077973" ... }
1 parent 1c0e17c commit ff77fe3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

example/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ flutter emulators --launch Medium_Phone_API_35;
2424

2525
And then you can run `flutter run`.
2626

27+
If you are using an older Flutter or Android Studio version, you may see an error about `ndkVersion`. Follow the instructions to update the version in `build.gradle.kts`.
28+
2729
## Getting Started
2830

2931
For help getting started with Flutter, view our online

0 commit comments

Comments
 (0)