Can't build after adding nativescript-plugin-firebase plugin
Hi I am facing some issues with this plugin. Without it, I can build my project correctly but when I add it I have this result :
`Preparing project... Hash: 14cab1afc0fbd3d1c7e9 Version: webpack 4.27.1 Time: 3249ms Built at: 2019-09-19 7:08:57 PM Asset Size Chunks Chunk Names bundle.js 25 KiB bundle [emitted] bundle package.json 112 bytes [emitted] runtime.js 13.9 KiB runtime [emitted] runtime tns-java-classes.js 0 bytes [emitted] vendor.js 3.88 MiB vendor [emitted] vendor Entrypoint bundle = runtime.js vendor.js bundle.js [./ sync ^./app.(css|scss|less|sass)$] . sync nonrecursive ^./app.(css|scss|less|sass)$ 174 bytes {bundle} [built] [./ sync recursive (?<!\bApp_Resources\b.).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-].)scss)$] . sync (?<!\bApp_Resources\b.).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-].)scss)$ 270 bytes {bundle} [built] [./app-root.xml] 309 bytes {bundle} [optional] [built] [./app.css] 1.15 KiB {bundle} [optional] [built] [./app.js] 2.22 KiB {bundle} [built] [./main-page.js] 1.77 KiB {bundle} [optional] [built] [./main-page.xml] 1.93 KiB {bundle} [optional] [built] [./main-view-model.js] 881 bytes {bundle} [built] [./package.json] 99 bytes {bundle} [optional] [built] + 190 hidden modules Webpack compilation complete. nativescript-plugin-firebase: D:\projet-nativescript\test\platforms\android.pluginfirebaseinfo not found, forcing prepare! nativescript-plugin-firebase: running release build or change in environment detected, forcing prepare!
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':verifyReleaseResources'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade AAPT2 aapt2-3.5.0-5435860-windows Daemon #0: Daemon startup failed This should not happen under normal circumstances, please file an issue if it does.
-
Try: 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.
-
Get more help at https://help.gradle.org
BUILD FAILED in 14s Failed to build plugin nativescript-plugin-firebase : Error: Command gradlew.bat failed with exit code 1`
android/build.gradle `// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
def initialize = { ->
def userDir = "${rootProject.projectDir}/../.."
apply from: "$rootDir/user_properties_reader.gradle"
apply from: "$rootDir/paths.gradle"
rootProject.ext.userDefinedGradleProperties = getUserProperties("${getAppResourcesPath(userDir)}/Android")
}
initialize()
def computeKotlinVersion = { -> project.hasProperty("kotlinVersion") ? kotlinVersion : "1.3.41"
}
def kotlinVersion = computeKotlinVersion()
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects { repositories { google() jcenter() } beforeEvaluate { project -> if (rootProject.hasProperty("userDefinedGradleProperties")) { rootProject.ext.userDefinedGradleProperties.each { entry -> def propertyName = entry.getKey() def propertyValue = entry.getValue() project.ext.set(propertyName, propertyValue) } }
}
}
task clean(type: Delete) { delete rootProject.buildDir } `
gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
+1