-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem was found with the configuration of task ':app:generateDebugLintReportModel' (type 'LintModelWriterTask'). #1631
Comments
For React Native 0.74.x you will need to apply the following patch: @@ -26,18 +26,28 @@ afterEvaluate {
android.applicationVariants.all { def variant ->
def targetName = variant.name.capitalize()
- def lintVitalAnalyzeTask = tasks.findByName("lintVitalAnalyze${targetName}")
+ def lintVitalAnalyzeTask = tasks.findByName("lintVitalAnalyze${targetName}")
if (lintVitalAnalyzeTask) {
- lintVitalAnalyzeTask.dependsOn(fontCopyTask)
+ lintVitalAnalyzeTask.dependsOn(fontCopyTask)
+ }
+
+ def lintAnalyzeTask = tasks.findByName("lintAnalyze${targetName}")
+ if (lintAnalyzeTask) {
+ lintAnalyzeTask.dependsOn(fontCopyTask)
}
- def generateReportTask = tasks.findByName("generate${targetName}LintVitalReportModel")
+ def generateVitalReportTask = tasks.findByName("generate${targetName}LintVitalReportModel")
+ if (generateVitalReportTask) {
+ generateVitalReportTask.dependsOn(fontCopyTask)
+ }
+
+ def generateReportTask = tasks.findByName("generate${targetName}LintReportModel")
if (generateReportTask) {
generateReportTask.dependsOn(fontCopyTask)
}
def generateAssetsTask = tasks.findByName("generate${targetName}Assets")
generateAssetsTask.dependsOn(fontCopyTask)
- }
+ }
} It seems as though the lint task names have changed when going from gradle 8.3 to 8.6. |
@danielaloycedaniel @david-gettins Can you try this for me https://github.com/oblador/react-native-vector-icons/pull/1648/files I'm want to tey a different direction for this since we've had to keep changing it the last few releases |
Im encountering the same error in RN For a temp fix, im adding the following codes into the bottom of
|
Will be fixed in upcoming release by #1648 |
I get this error when i try to build an app in react native.
This error persist whenever i try to use react-native-vector-icons inside my project
I am using:
The text was updated successfully, but these errors were encountered: