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
React native 0.72-rc6 android relase error What went wrong: A problem was found with the configuration of task ':app:lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
#1574
How to fix. Go to Folder /node_modules/react-native-vector-icons -> Open the fonts.gradle file and replace the code inside
android.applicationVariants.all { def variant -> ....
become as follows as follows.
Once done, run the command npx patch-package react-native-vector-icons To fix this error in the package so it won't happen next time
qnit82
changed the title
Hi admin. react native 0.72-rc6 android relase error
React native 0.72-rc6 android relase error What went wrong: A problem was found with the configuration of task ':app:lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
Dec 2, 2023
remove apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle") from android/app/build.gradlew
go to node_modules/react-native-vector-icon/Fonts and copy all the fonts
go to android/app/src/main and create a folder named assets if not exist then inside then assets create one more folder named fonts and paste all the fonts from node_modules/react-native-vector-icon/Fonts to here
now you can use the vector icon as usual and also you can create a build which won't failed
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: