You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this lib and building for android, a warning is shown due to hardcoded buildToolsVersion version in build.gradle#L16 clashing with newer Android Gradle Plugin.
What is the current behavior?
When building I get the following:
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.1.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING:: The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.1.
Android SDK Build Tools 30.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
What is the expected behavior?
No warnings show up and outer config is respected.
What have you tried?
I tried applying the safeExtGet approach that many libs use via patch-package and it solved my problems.
Description
When using this lib and building for android, a warning is shown due to hardcoded
buildToolsVersion
version inbuild.gradle#L16
clashing with newer Android Gradle Plugin.What is the current behavior?
When building I get the following:
What is the expected behavior?
No warnings show up and outer config is respected.
What have you tried?
I tried applying the
safeExtGet
approach that many libs use viapatch-package
and it solved my problems.What it boils down to:
This way the outside config takes precedence, but the old value is still kept as a fallback.
Version info
@react-native-community/progress-view: 1.3.1
react-native: 0.65.1
The text was updated successfully, but these errors were encountered: