-
-
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
Build error - A problem was found with the configuration of task ':app:lintAnalyzeDebug' #1588
Comments
@leonardo-coutinho-dev Thanks for this fix! I was experiencing the same error after upgrading from react native 0.71.3 to 0.73.2 and the proposed solution fixes the build for me. |
I had same issues followed by another ones, I had to add 3 new dependency configurations (cheaper and faster solution is to downgrade gradle as of some version it requires explicit/implicit dependency between tasks declarations, there is a probability where other tools and tasks will give similar problems in the future):
///// New declarations
EDIT: There is a second way of disabling lint in build totally by building android project with gradle command
And by appending some configuration in android/app/build.gradle file (under android tag):
My project package configuration:` "dependencies": { I'm thinking about dropping apply of fonts.gradle from app/build.gradle and making my own copy method for assets, will see how it works and how long it will take for dev's here to fix the issue with some more generic solution rather than configuring each task dependencies. |
The same issue here on RN 0.72.4 |
It worked on RN 0.74.0
|
thank you so much, its work perfectly |
- building using gradle 8 throws errors if any dependencies have package name specified in AndroidManifest.xml -- Addressed by patching AndroidManifest.xml of each affected dependency to remove package and added namespace to corresponding build.gradle -- For amazon-cognito-identity-js, addressed by upgrading dependency to a later patch version with this change - react-native-vector-icons needed additional patching for other breaking issues in gradle 8 - oblador/react-native-vector-icons#1588 - react-native-video upgraded from 5.2.0 to 5.2.1 to fix TheWidlarzGroup/react-native-video#3160. -- Changes in existing patch for 5.2.0 are already included in react-native-video release 5.2.1 - react-native upgraded from 0.72.3 to 0.72.8 to get fix for facebook/react-native#38256 which was causing crash on launch -- Additionally, did an override of registerReceiver in MainApplication.java facebook/react-native#41288
thanks a lot. its work perfectly |
in there any solution without added some codes to \node_modules\react-native-vector-icons\fonts.gradle? |
Will be fixed in upcoming release by #1648 |
Hey guys, I am facing an issue when trying to build a project with
./gradlew build
, on the android folder!I was trying to build on windows
I saw some solutions here:
#1508
Solution:
Adding the following lines to
node_modules/react-native-vector-icons/fonts.gradle
Check the two lines after
// add this: --------------------->
@oblador
The error is similar to #1508 but this time with task
lintAnalyzeTask
The text was updated successfully, but these errors were encountered: