triniwiz / triniwiz/nativescript-plugins

Stripe: gradle build fails when used with nativescript-ui-gauge

Open
#27 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
87
Forks
57
Avg merge
1h 36m
Merged PRs (30d)
4

Description

Previous versions of nativescript-stripe worked with my app. Building with @triniwiz/nativescript-stripe fails with the following error:

Execution failed for task ':app:mergeDebugResources'.
Android resource compilation failed
C:\Users\Mike\.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 ''.
    
C:\Users\Mike\.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.

If I remove nativescript-ui-gauge from the project, it builds and stripe works fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android build with @triniwiz/nativescript-stripe and nativescript-ui-gauge installed, then inspect the AAPT error for the duplicate circleRadius resource in TNSGauge-release. Compare the resource definitions involved and verify that the project builds with both plugins present; the issue does not mention a test or source file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.