Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

NativeScript v8.0.0 android crash - "Execution failed for task ':app:mergeDebugResources'"  #9388

Copy link
Copy link
Open
@mcalc001

Description

@mcalc001
Issue body actions

Environment

  • CLI: 8.0.1
  • nativescript/core: 8.0.1,
  • nativescript/angular: 11.8.1,
  • Android Runtime: 8.0.0
  • nativescript-ui-gauge: 7.0.2,
"dependencies": {
    "@angular/animations": "~11.2.7",
    "@angular/common": "~11.2.7",
    "@angular/compiler": "~11.2.7",
    "@angular/core": "~11.2.7",
    "@angular/forms": "~11.2.7",
    "@angular/platform-browser": "~11.2.7",
    "@angular/platform-browser-dynamic": "~11.2.7",
    "@angular/router": "~11.2.7",
    "@nativescript-community/ui-material-bottom-navigation": "^5.2.21",
    "@nativescript-community/ui-material-tabs": "^5.2.21",
    "@nativescript/angular": "~11.8.1",
    "@nativescript/appversion": "~2.0.0",
    "@nativescript/core": "~8.0.1",
    "@nativescript/email": "~2.0.0",
    "@nativescript/fingerprint-auth": "~7.0.0",
    "@nativescript/firebase": "^11.1.3",
    "@nativescript/secure-storage": "~3.0.0",
    "@nstudio/nativescript-https": "^3.0.1",
    "@nstudio/nativescript-pulltorefresh": "3.0.1",
    "@types/node": "^12.12.12",
    "html-encoder-decoder": "^1.3.8",
    "jwt-decode": "^2.2.0",
    "nativescript-awesome-webview-with-custom-menu-items": "^70.1.1",
    "nativescript-carousel": "^7.0.1",
    "nativescript-lottie": "^5.0.3",
    "nativescript-ngx-fonticon": "^7.0.0",
    "nativescript-phone": "^2.0.0",
    "nativescript-rater": "^2.1.2",
    "nativescript-root-detection": "^1.0.0",
    "nativescript-taptic-engine": "^2.1.0",
    "nativescript-ui-gauge": "^7.0.2",
    "nativescript-ui-listview": "^9.1.0",
    "patch-package": "^6.4.7",
    "postinstall": "^0.7.0",
    "reflect-metadata": "~0.1.13",
    "rxjs": "^6.6.0",
    "rxjs-compat": "^6.5.3",
    "zone.js": "~0.11.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~11.2.7",
    "@nativescript/android": "8.0.0",
    "@nativescript/ios": "8.0.0",
    "@nativescript/types": "~8.0.0",
    "@nativescript/webpack": "~5.0.0-beta.9",
    "@ngtools/webpack": "~11.2.6",
    "@typescript-eslint/eslint-plugin": "^4.6.0",
    "@typescript-eslint/parser": "^4.5.0",
    "codelyzer": "~5.2.0",
    "eslint": "^7.11.0",
    "eslint-config-airbnb-typescript": "^12.0.0",
    "eslint-config-prettier": "^6.13.0",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-nativescript": "0.0.0",
    "eslint-plugin-prettier": "^3.1.4",
    "husky": "^4.3.7",
    "lint-staged": "^10.5.3",
    "node-sass": "^4.13.1",
    "prettier": "^2.1.2",
    "sonarqube-scanner": "^2.8.0",
    "typescript": "~4.0.0",
    "webpack-obfuscator": "^0.27.2"
  },
  "readme": "NativeScript Application",
  "main": "./app/main.ts"
}

Describe the bug

Upgrade to Nativescript 8 I can not build on android. It crashes on build with exit code 1. please see below for full error message.

Execution failed for task ':app:mergeDebugResources'.
Android resource compilation failed
/Users/coreymcallen/.gradle/caches/transforms-2/files-2.1/0f279d52f241ddc1c70630baab066dcc/jetified-TNSGauge-release/res/values/values.xml:29:5-40:25: AAPT: error: duplicate value for resource 'attr/circleRadius' with config ''.
    
/Users/coreymcallen/.gradle/caches/transforms-2/files-2.1/0f279d52f241ddc1c70630baab066dcc/jetified-TNSGauge-release/res/values/values.xml:29:5-40:25: AAPT: error: resource previously defined here.
    
/Users/coreymcallen/Development/EndsleighWalletApp/platforms/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml: AAPT: error: file failed to compile.

Unable to apply changes on device: 192.168.1.225:5555. Error is: Command ./gradlew failed with exit code 1.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.