Hi guys i download a project from github and i imported in android studio , after imported am getting error
Gradle sync failed: Cause: assert localProps['keystore.props.file']
| |
| null
[ndk.dir:E:\sdk\ndk-bundle, sdk.dir:E:\sdk]
Consult IDE log for more details (Help | Show Log)
Gradle File:
signingConfigs {
release {
def Properties localProps = new Properties()
localProps.load(new FileInputStream(file('../local.properties')))
def Properties keyProps = new Properties()
assert localProps['keystore.props.file'];
keyProps.load(new FileInputStream(file(localProps['keystore.props.file'])))
storeFile file(keyProps["store"])
keyAlias keyProps["alias"]
storePassword keyProps["storePass"]
keyPassword keyProps["pass"]
}
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt')
signingConfig signingConfigs.release
}
publicBeta.initWith(buildTypes.release)
publicBeta {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt')
versionNameSuffix " Beta " + versionProps['betaNumber']
}
publicDebug.initWith(buildTypes.publicBeta)
publicDebug {
debuggable true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), file('proguard-project.txt')
versionNameSuffix " Debug Beta " + versionProps['betaNumber']
}
}
}
I realy don't know what to do.
Does anyone have any suggestions?.