anonymous Log in
Search
Recents:
v3.0
sd
Error al generar gradle SD android
01/06/20 15:51

franco.ferreira.luna

Replies: 0

Hola!

Tengo el siguiente error respecto al archivo gradle, no lo esta generando completo

error: FAILURE: Build failed with an exception.
error:
error: * Where:
error: Build file 'C:\Modelos GX16\MercaditoDelBarrio\NetSQLServer_SD003\mobile\Android\MercaditoDelBarrio\build.gradle' line: 47
error:
error: * What went wrong:
error: Could not compile build file 'C:\Modelos GX16\MercaditoDelBarrio\NetSQLServer_SD003\mobile\Android\MercaditoDelBarrio\build.gradle'.
error: > startup failed:
error: build file 'C:\Modelos GX16\MercaditoDelBarrio\NetSQLServer_SD003\mobile\Android\MercaditoDelBarrio\build.gradle': 47: unexpected token: @ line 47, column 1.
error: 1 error
error:
error:
error: * Try:
error: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
error:
error: * Get more help at https://help.gradle.org
error:
error: BUILD FAILED in 9s

El archivo gradle queda así:

apply plugin: 'com.android.application'

android {
compileSdkVersion android_build.compile_sdk

defaultConfig {
applicationId "cl.mercaditodigital.mercaditodelbarrio"
versionCode 10
versionName "1.0"
minSdkVersion android_build.min_sdk
targetSdkVersion android_build.target_sdk

multiDexEnabled true
multiDexKeepFile file('multidex-config.txt')
}

signingConfigs {
release {
storeFile file(String.valueOf(System.getenv("KEYSTORE_FILE")))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
}
}

buildTypes {
release {
signingConfig signingConfigs.release
}
}

compileOptions {
sourceCompatibility android_build.java_version
targetCompatibility android_build.java_version
}

dexOptions {
jumboMode = true
}

packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}

dependencies {

Que puede ser?

Saludos.



Back to sd