Flutter Android: Ein oder mehrere Plugins benötigen eine höhere Android -NDK -VersionAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 Flutter Android: Ein oder mehrere Plugins benötigen eine höhere Android -NDK -Version

Post by Anonymous »

Ein oder mehrere Plugins erfordern eine höhere Android -NDK -Version. />} < /p>
Aber wenn ich ndkversion < /code> hinzufüge, sieht meine Datei so aus: < /p>

Code: Select all

android {
compileSdk 31

ndkVersion 21.3.6528147

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
...

< /code>
Ich erhalte einen anderen Fehler: < /p>
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/qqq/data/qqq/qqq/qqq/android/app/build.gradle' line: 61

* What went wrong:
Could not compile build file '/Users/qqq/data/github/qqq/qqq/android/app/build.gradle'.
> startup failed:
build file '/Users/qqq/data/github/qqq/qqq/android/app/build.gradle': 61: Unexpected input: '{' @ line 61, column 9.
android {
^

1 error

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post