-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
Description
From @NgSculptor on November 22, 2016 7:31
Did you verify this is a real problem by searching [Stack Overflow]
Yes
Tell us about the problem
Build is failing on android after update
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:
This is the package.json file that I have:
"nativescript": {
"id": "io.egen.protec",
"tns-ios": {
"version": "2.4.0"
},
"tns-android": {
"version": "2.4.0"
}
},
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/platform-server": "2.0.0",
"@angular/router": "3.0.0",
"email-validator": "^1.0.7",
"lodash": "^4.16.6",
"nativescript-angular": "1.0.0",
"nativescript-background-http": "^2.4.0",
"nativescript-camera": "0.0.8",
"nativescript-drop-down": "^1.4.0",
"nativescript-email": "^1.3.3",
"nativescript-imagepicker": "^2.4.1",
"nativescript-iqkeyboardmanager": "^1.0.1",
"nativescript-ng2-fonticon": "^1.3.3",
"nativescript-permissions": "^1.2.1",
"nativescript-phone": "^1.2.3",
"nativescript-social-share": "^1.3.1",
"nativescript-swiss-army-knife": "^1.0.71",
"nativescript-telerik-ui-pro": "^1.4.1",
"reflect-metadata": "0.1.8",
"rxjs": "5.0.0-beta.12",
"tns-core-modules": "^2.4.0"
},
"devDependencies": {
"babel-traverse": "6.9.0",
"babel-types": "6.9.0",
"babylon": "6.8.0",
"filewalker": "0.1.2",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^2.0.10",
"zone.js": "0.6.21"
}
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
This is the console output
:asbg:runAstParser
Running full build
finished with reading lines with js files
Warning: there already is an extend called com.tns.NativeScriptActivity.
Warning: there already is an extend called com.tns.FragmentClass.
:asbg:generateBindings
:mergeF0F1F2F3F4F5DebugShaders
:compileF0F1F2F3F4F5DebugShaders
:generateF0F1F2F3F4F5DebugAssets
:mergeF0F1F2F3F4F5DebugAssets
:generateF0F1F2F3F4F5DebugResValues
:generateF0F1F2F3F4F5DebugResources
:mergeF0F1F2F3F4F5DebugResources
:processF0F1F2F3F4F5DebugManifest
:processF0F1F2F3F4F5DebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processF0F1F2F3F4F5DebugResources'.
> Error: more than one library with package name 'com.telerik.android.data'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 30.926 secs
Command /Users/xyz/abc/platforms/android/gradlew failed with exit code 1
Not sure if related, but I started seeing this warning message for both ios and android
Could not find folder: /Users/xyz/abc/platforms/ios/protec/app/tns_modules/tns-core-modules
Copied from original issue: NativeScript/NativeScript#3139