when i try to build the app i get an error.(ionic v3)
$ ionic cordova build android
> ionic-app-scripts.cmd build --target cordova --platform android
[19:43:42] ionic-app-scripts 3.2.4
[19:43:42] build dev started ...
[19:43:42] clean started ...
[19:43:42] clean finished in 19 ms
[19:43:42] copy started ...
[19:43:42] deeplinks started ...
[19:43:42] deeplinks finished in 181 ms
[19:43:42] transpile started ...
[19:43:48] transpile finished in 6.21 s
[19:43:48] preprocess started ...
[19:43:48] preprocess finished in 1 ms
[19:43:48] webpack started ...
[19:43:48] copy finished in 6.56 s
[19:43:53] webpack finished in 5.24 s
[19:43:53] sass started ...
[19:43:55] sass finished in 1.33 s
[19:43:55] postprocess started ...
[19:43:55] postprocess finished in 18 ms
[19:43:55] lint started ...
[19:43:55] build dev finished in 13.12 s
no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
[19:43:59] tslint: ...esturant/yeni/ionic-3-restaurantapp/src/pages/forgot-password/forgot-password.ts, line: 9
'NavParams' is declared but its value is never read.
L8: import { Component } from '@angular/core';
L9: import { IonicPage, NavController, NavParams } from 'ionic-angular';
[19:43:59] tslint: ...ionicresturant/yeni/ionic-3-restaurantapp/src/pages/product-list/product-list.ts, line: 42
'subscription' is declared but its value is never read.
L42: let subscription = this.menuItem
L43: .snapshotChanges()
[19:43:59] lint finished in 4.45 s
> cordova.cmd build android
Discovered saved plugin "mx.ferreyra.callnumber". Adding it to the project
Plugin "call-number" already installed on android.
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\sezgi\AppData\Local\Android\Sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app
> Configure project :CordovaLib
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The onesignal-gradle-plugin MUST be before com.android.application!
Please put onesignal-gradle-plugin first OR update to com.android.tools.build:gradle:3.0.0 or newer!
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture fingerprint of �nput files for task ':app:generateDebugBuildConfig' property 'checkManifestResult' during up-to-date check.
> Resolving this BuildableArtifact can only done during task execution.
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig FAILED
4 actionable tasks: 1 executed, 3 up-to-date
* 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
BU�LD FAILED in 24s
C:\Users\sezgi\Desktop\ionicresturant\yeni\ionic-3-restaurantapp\platforms\android\gradlew: Command failed with exit code 1 Error output:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture fingerprint of �nput files for task ':app:generateDebugBuildConfig' property 'checkManifestResult' during up-to-date check.
> Resolving this BuildableArtifact can only done during task execution.
* 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
BU�LD FAILED in 24s
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
sezgi@DESKTOP-JSVI7JK MINGW64 ~/Desktop/ionicresturant/yeni/ionic-3-restaurantapp (master)
$ clear
sezgi@DESKTOP-JSVI7JK MINGW64 ~/Desktop/ionicresturant/yeni/ionic-3-restaurantapp (master)
$ clear
sezgi@DESKTOP-JSVI7JK MINGW64 ~/Desktop/ionicresturant/yeni/ionic-3-restaurantapp (master)
$ ionic cordova build android
> ionic-app-scripts.cmd build --target cordova --platform android
[19:44:38] ionic-app-scripts 3.2.4
[19:44:38] build dev started ...
[19:44:38] clean started ...
[19:44:38] clean finished in 18 ms
[19:44:38] copy started ...
[19:44:39] deeplinks started ...
[19:44:39] deeplinks finished in 209 ms
[19:44:39] transpile started ...
[19:44:45] transpile finished in 6.08 s
[19:44:45] preprocess started ...
[19:44:45] preprocess finished in less than 1 ms
[19:44:45] webpack started ...
[19:44:45] copy finished in 6.46 s
[19:44:51] webpack finished in 5.68 s
[19:44:51] sass started ...
[19:44:52] sass finished in 1.31 s
[19:44:52] postprocess started ...
[19:44:52] postprocess finished in 16 ms
[19:44:52] lint started ...
[19:44:52] build dev finished in 13.45 s
no-unused-variable is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
[19:44:56] tslint: ...esturant/yeni/ionic-3-restaurantapp/src/pages/forgot-password/forgot-password.ts, line: 9
'NavParams' is declared but its value is never read.
L8: import { Component } from '@angular/core';
L9: import { IonicPage, NavController, NavParams } from 'ionic-angular';
[19:44:56] tslint: ...ionicresturant/yeni/ionic-3-restaurantapp/src/pages/product-list/product-list.ts, line: 42
'subscription' is declared but its value is never read.
L42: let subscription = this.menuItem
L43: .snapshotChanges()
[19:44:56] lint finished in 4.64 s
> cordova.cmd build android
Discovered saved plugin "mx.ferreyra.callnumber". Adding it to the project
Plugin "call-number" already installed on android.
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\sezgi\AppData\Local\Android\Sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app
> Configure project :CordovaLib
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The onesignal-gradle-plugin MUST be before com.android.application!
Please put onesignal-gradle-plugin first OR update to com.android.tools.build:gradle:3.0.0 or newer!
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
FAILURE: > Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig FAILED
Build failed with an exception.
* What went wrong:
Failed to capture fingerprint of �nput files for task ':app:generateDebugBuildConfig' property 'checkManifestResult' during up-to-date check.
> Resolving this BuildableArtifact can only done during task execution.
* 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
BU�LD FAILED in 20s
4 actionable tasks: 1 executed, 3 up-to-date
C:\Users\sezgi\Desktop\ionicresturant\yeni\ionic-3-restaurantapp\platforms\android\gradlew: Command failed with exit code 1 Error output:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture fingerprint of �nput files for task ':app:generateDebugBuildConfig' property 'checkManifestResult' during up-to-date check.
> Resolving this BuildableArtifact can only done during task execution.
* 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
BU�LD FAILED in 20s
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.