Usually I have only two options, debug/release but now I have a lot. I want to revert to just two options, any idea how? I recently messed around with the NDK and maybe this caused it?

apply plugin: 'com.android.application'

apply plugin: 'com.google.gms.google-services'

android {

signingConfigs {

config {

storeFile file('mypath')

storePassword '***'

keyAlias '***'

keyPassword '***'

}

}

compileSdkVersion(28)

buildToolsVersion '28.0.3'

defaultConfig {

applicationId "****.****.****"

minSdkVersion 16

targetSdkVersion 28

versionCode 1

multiDexEnabled true

versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled true

multiDexEnabled true

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

signingConfig signingConfigs.config

}

}

}

dependencies {

implementation fileTree(include: ['*.jar'], dir: 'libs')

androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {

exclude group: 'com.android.support', module: 'support-annotations'

})

testImplementation 'junit:junit:4.12'

// All my implements

}

android {

packagingOptions {

pickFirst 'META-INF/LICENSE.txt'

}

}

android {

lintOptions {

checkDependencies true

}

compileOptions {

sourceCompatibility = '1.8'

targetCompatibility = '1.8'

}

externalNativeBuild {

cmake {

path file('CMakeLists.txt')

}

}

}

/r/androiddev Thread Parent Link - i.redd.it