// /android/app/build.gradle plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" } android { namespace = "com.example.nokken" compileSdk = flutter.compileSdkVersion ndkVersion "29.0.13113456" compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { applicationId = "com.example.nokken" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName // Native code configuration externalNativeBuild { cmake { cppFlags "-std=c++17" arguments "-DANDROID_STL=c++_shared", "-DANDROID_TOOLCHAIN=clang", "-DANDROID_ARM_NEON=TRUE" // Explicitly set ABIs abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64' } } } externalNativeBuild { cmake { path "../CMakeLists.txt" } } buildTypes { release { signingConfig = signingConfigs.debug } } } flutter { source = "../.." }