pmb pmb - 6 months ago 52
Android Question

gradle signingconfigs not found

In my application I want create debug and release build types

Here is my gradle code

apply plugin: ''

android {
compileSdkVersion 21
buildToolsVersion "21.1.1"

defaultConfig {
applicationId ""
minSdkVersion 15
targetSdkVersion 21
versionCode 10001
versionName "1.0"

signingConfigs {
storeFile file("ncv.jks");

buildTypes {
release {
minifyEnabled false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
signingConfig singningConfigs.myConfigs


debug {
debuggable true
applicationIdSuffix ".debug"

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile ''
compile ''

Everytime I try to build gradle I have this error

Error:(30, 0) Could not find property 'singningConfigs' on BuildType_Decorated{name=release, debuggable=false, testCoverageEnabled=false, jniDebuggable=false, pseudoLocalesEnabled=false, renderscriptDebuggable=false, renderscriptOptimLevel=3, applicationIdSuffix=null, versionNameSuffix=null, minifyEnabled=false, zipAlignEnabled=true, signingConfig=null, embedMicroApp=true, mBuildConfigFields={}, mResValues={}, mProguardFiles=[/Users/pmb/opt/sdk/tools/proguard/proguard-android.txt, /Users/pmb/Documents/MyProjects/PMBO/app/], mConsumerProguardFiles=[], mManifestPlaceholders={}}.

I don't what I did wrong but looked everywhere and couldn't figure out what's the problem here.

My .jks file in my app module as shown in that picture.
enter image description here

Could anyone just tell me what I did wrong?

Error:(30, 0) Could not find property 'singningConfigs' on 

Note that the property in the error message is singningConfigs. The real property is signingConfigs. Change:

signingConfig singningConfigs.myConfigs


signingConfig signingConfigs.myConfigs