NativeScript 2.0 (I use NativeScript-Angular). build [tns build android] does not work in 'processF0DebugResources' when gulp dependencies are added to the "devDependencies" section.
This happens with 1.7.1, but I got the impression that it will be fixed in version 2.0. It looks like devDependencies are also being created.
I also tried gradlew -debug, which did not detect errors, and when this error occurs, the .apk file is not created.
Here is the exception:
:processF0DebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':processF0DebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ' command 'C:\Android\android-sdk\build-tools\23.0.3\aapt.exe'' finished with non-zero exit value 1
Here is my .json package:
"dependencies": {
"tns-core-modules": "2.0.0",
"nativescript-angular": "0.0.46",
"angular2": "2.0.0-beta.16",
"nativescript-intl": "0.0.2",
"parse5": "1.4.2",
"punycode": "1.3.2",
"querystring": "0.2.0",
"url": "0.10.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.12",
"es6-shim": "0.35.0"
},
"devDependencies": {
"babel-traverse": "6.8.0",
"babel-types": "6.8.1",
"babylon": "6.8.0",
"filewalker": "0.1.2",
"gulp": "3.9.1",
"gulp-connect": "^4.0.0",
"gulp-typescript": "^2.13.0",
"gulp-watch": "^4.3.5",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.1",
"run-sequence": "^1.1.5",
"typescript": "^1.8.10"
}