-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Lint/build error - WrongConstant - Gradle - React Native build for android #1150
Comments
I managed to resolve the compilation issue with a quick fix. It might not be the most elegant solution, but it is effective.
|
Hi guys, Thanks for pointing this out. This is a linting error. I'll open a PR and update it. One question though mostly out of curiosity, is this actually blocking you guys from building the app? If so we can do a patch release. Our CI is running this fine and we haven't had an issue with this till now. I can see the environment you are building on is Windows though. |
Hi, I'm using MacOS, and the issue arises when I execute As you pointed out, it seems the linter might only be activated through the build command. |
I wrote the PR. Please wait for it to be approved, and we can probably release 6.5.1 afterwards if all is good. |
Can you drop your app's |
Fixed in v6.5.1 🚀 |
Hi, I was trying to build the app on Windows, for Android, through the bash terminal (with ./gradlew build on android folder). We already have a build for iOs (no issues). I was in charge today to create the build for Android and run into this issue in the morning. Here's the project-level
|
This solved the problem, thank you so much guys! ;) |
I have the following error when trying to build a react native (bare workflow) app for android (cd android && ./gradlew build):
node_modules\lottie-react-native\android\src\main\java\com\airbnb\android\react\lottie\LottieAnimationViewPropertyManager.kt
lines 72 & 87 - 2 errors
Problem:
The lint error points to the following line in the LottieAnimationViewPropertyManager.kt file:
The error message states:
I have:
Gradle version: 7.6.2
The text was updated successfully, but these errors were encountered: