NativeScript / NativeScript/NativeScript

Build failed after adding nativescript-ui-dataform

Open
#8,907 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
25.7k
Forks
1.7k
Avg merge
1d 5h
Merged PRs (30d)
35

Description

Environment

  • CLI: 7.0.8
  • Android Runtime:7.0.0
  • Plugin:nativescript-ui-dataform 7.0.2

I added plugin nativescript-ui-dataform to my project with command,
tns plugin add nativescript-ui-dataform

When I build project with tns build android, I get following exception,

Build file 'C:\Users\Administrator\Desktop\karemaservice-app\platforms\android\app\build.gradle' line: 633 A problem occurred configuring project ':app'. Could not find recyclerview-1.1.0.jar (androidx.recyclerview:recyclerview:1.1.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/androidx/recyclerview/recyclerview/1.1.0/recyclerview-1.1.0.jar/recyclerview-1.1.0.jar
Unable to apply changes on device: 192.168.252.101:5555. Error is: Command gradlew.bat failed with exit code 1.

Contributor guide

Open the contributing guide

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 with the reported failure in platforms/android/app/build.gradle at line 633 and reproduce it with tns build android after adding nativescript-ui-dataform 7.0.2. Inspect how the build resolves androidx.recyclerview:recyclerview:1.1.0 and verify the reported missing artifact is addressed. Done means the Android project builds successfully without the Gradle exception.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.