diff --git a/build-logic/ide/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt b/build-logic/ide/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt index c0122ca83d..4ee2b8c6c6 100644 --- a/build-logic/ide/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt +++ b/build-logic/ide/src/main/java/com/itsaky/androidide/plugins/conf/AndroidModuleConf.kt @@ -47,11 +47,6 @@ fun Project.configureAndroidModule( multiDexEnabled = true testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" - - ndk { - abiFilters.clear() - abiFilters += arrayOf("armeabi-v7a", "arm64-v8a") - } } compileOptions { @@ -74,6 +69,13 @@ fun Project.configureAndroidModule( "\"${name}\"") } } + } else { + defaultConfig { + ndk { + abiFilters.clear() + abiFilters += arrayOf("armeabi-v7a", "arm64-v8a") + } + } } // configure split APKs for ':app' module only