Closed nehaTrank closed 11 months ago
for me too after upgrading RN to 0.72.1 i get a build error
This worked for me :) please patch the package
Hi! See #1508 thread
Thanks a lot!! it worked for me too :)
I also have the same problem, is there a solution?
I also have the same problem, is there a solution?
try this https://github.com/oblador/react-native-vector-icons/issues/1508#issuecomment-1604115239 it worked for me.
我也有同样的问题,有解决办法吗?
试试这个#1508(评论)它对我有用。
Thank you, I have successfully fixed it by this method, and the author has updated to 10.0.0, which also made the fix
I created a React Native Project and Worked on it, It works perfect on debug build. But when I run ./gradlew assembleRelease inside android directory, It leads me to an error.
FAILURE: Build failed with an exception.
What went wrong: A problem was found with the configuration of task ':app:copyReactNativeVectorIconFonts' (type 'Copy').
Reason: Task ':app:lintVitalAnalyzeRelease' uses this output of task ':app:copyReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Try:
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s 214 actionable tasks: 7 executed, 207 up-to-date
Here's package.json
{ "name": "App Name", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "lint": "eslint .", "start": "react-native start", "test": "jest" }, "dependencies": { "@react-native-async-storage/async-storage": "^1.19.0", "@react-navigation/bottom-tabs": "^6.5.8", "@react-navigation/native": "^6.1.7", "@react-navigation/native-stack": "^6.9.13", "@reduxjs/toolkit": "^1.9.5", "axios": "^1.4.0", "react": "18.2.0", "react-native": "0.72.1", "react-native-linear-gradient": "^2.7.3", "react-native-safe-area-context": "^4.6.3", "react-native-screens": "^3.22.0", "react-native-splash-screen": "^3.3.0", "react-native-vector-icons": "^9.2.0", "react-redux": "^8.1.1" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "^0.72.2", "@react-native/metro-config": "^0.72.7", "@tsconfig/react-native": "^3.0.0", "@types/metro-config": "^0.76.3", "@types/react": "^18.0.24", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.2.1", "eslint": "^8.19.0", "jest": "^29.2.1", "metro-react-native-babel-preset": "0.76.5", "prettier": "^2.4.1", "react-native-dotenv": "^3.4.9", "react-test-renderer": "18.2.0", "typescript": "4.8.4" }, "engines": { "node": ">=16" } }