-
Notifications
You must be signed in to change notification settings - Fork 236
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
New build errors (lint-gradle-api.jar) #200
Comments
mover jcenter() below google() |
check this: react-native-share/react-native-share#387 |
Same issue. Any solution? @sibelius this does not work for me. |
Did you make this changes in your project @ronilitman ?
|
I had to point to the HEAD of master here and also move Quick twitter search for #gradle shows others having similar problems with other packages. Seems like missing files on jcenter, possibly related to yesterday's Github webhook outage??? Who knows. |
Thank you @chrusart , this works. Is it going to be in master any soon? |
Any plans for releasing fixed version? |
At this moment there is an opened pull request. I hope it would help. |
There is no need for PR @vadimshvetsov , current master has a fix and just have to be released. |
Could this be released asap? Makes it hard to make builds when changes are needed in node_modules |
This break started with v0.5.2, I know some folks are waiting for new version to be fixed but if you target v0.5.1 like docs recommend, it works fine. |
This doesn't work for me. |
Can the fix be released to master please? |
Having trouble on this as well... Looking for a quick solution without upgrading gradle or something :( |
Today, I got same issue. |
@sibelius Any update on this? |
I unable to deliver my react-native project to production. |
You can override this setting in your root project build.gradle (the one in your android/ folder, not android/app/). I'm no Gradle expert, but if you don't want to edit your node_module build.gradle, here's an extract of my root build.gradle :
|
Any described solution don`t work for me.
I found only one way to resolve issue:
And edit config: (editing own gradle doesn't help at all)
|
any news on this? manually changing an external dependency is not really an option for me as I have a fully automated build process where I won't allow manual changes in third-party dependency. Id like to avoid forking and rather point to a working official release version |
I don't know, but I provided a quickfix that works without editing the node module gradle, see my answer |
Unfortunately, solution by @wynch doesn't work for me. |
I am also getting the same issue after adding this to android Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2). |
Solved this by adding google() in build.gradle file of library ../node_modules/react-native-fabric/android |
I can confirm that adding the google() value to the build.gradle fixes this issue, please create a release to fix this asap since I need to fork now which is something I do not want to do. |
google() was msising in react-native-fabric build.gradle |
I'm able to fix it by adding following config in subprojects { project ->
buildscript {
repositories {
google()
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
} |
Thank you
…On Thu, Dec 27, 2018, 12:00 AM Tai Le ***@***.*** wrote:
I'm able to fix it by adding following config in android/build.gradle
subprojects { project ->
buildscript {
repositories {
google()
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#200 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Amzl2J7bMPayLBKV7PS7VBT4DTZiKFepks5u88AngaJpZM4X1jH3>
.
|
my code worked yesterday but today when I use |
Started to get these build errors today. Previously have had no problems and have not made changes to native code recently.
Anyone else had the same issue?
The text was updated successfully, but these errors were encountered: