question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Building with build-tools v29.0.2 instead of using the version in the root project

See original GitHub issue

Description

I bumped my project Build-Tools to version 30.0.2 and even remove version 29.0.2, but somehow when I want to build my project, the gradle config of this library forces the building process to download version 29.0.2 and use it to build it. none of my other dependencies have this problem.

> Configure project :react-native-reanimated
File C:\Users\SAEED\.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 29.0.2 in C:\Users\SAEED\AppData\Local\Android\Sdk\licenses
License for package Android SDK Build-Tools 29.0.2 accepted.
Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)".
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready.
Installing Android SDK Build-Tools 29.0.2 in C:\Users\SAEED\AppData\Local\Android\Sdk\build-tools\29.0.2
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete.
"Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished.

Screenshots

Steps To Reproduce

Expected behavior

I’m expecting that this library built by the root project’s build-Tools version. like my other dependencies.

Actual behavior

It seems this library is using its own specified build-Tools version.

Snack or minimal code example

Package versions

  • React: 16.13.1
  • React Native: 0.63.4
  • React Native Reanimated: 1.13.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
friederbluemlecommented, Dec 19, 2020

Hi @SaeedZhiany - Unfortunately I am not sure why this is happening without taking a closer look. It could be caused indirectly by a related dependency that still declares the older version.

0reactions
piaskowykcommented, Jan 14, 2022

Sorry, unfortunately, we no longer support Reanimated v1, but if you can resolve the problem I welcome to prepare a pull request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SDK Platform Tools release notes - Android Developers
Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, primarily adb and fastboot...
Read more >
configure project :react-native-reanimated - You.com
React Native BUILD FAILED: " A problem occurred configuring project ... with build-tools v29.0.2 instead of using the version in the root project...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild ... server for building Java based projects" status:RESOLVED resolution:OBSOLETE severity: ...
Read more >
Android- Error:Execution failed for task ':app ... - Stack Overflow
Go to SDK manager, and install any updates to your dependencies; Make sure that your build.gradle file shows the latest version. To get...
Read more >
toybox news - Rob Landley
Infrastructure: mkroot now only passes --no-preserve-owner to cpio (so initramfs files belong to root rather than whichever user ran the build) when using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found