Open william-normann opened 5 years ago
@jkasten2 I need your help 🆘
@thuan-nguyen-js The error notes react-native-background-geolocation
, if you temporarily remove this plugin does your project build? Or do you get an error on the next plugin?
I would recommend removing this section, as it may cause an early evaluation of variants which could be part of the issue.
configurations.all {
resolutionStrategy {
}
}
If the above 2 things do not help can you reproduce the issue in a minimum example project? There is a number of things in your build.gradle
files that could be part of the issue and isolating the exact cause is key to finding the root of the issue.
@jkasten2 I tried your 2 solutions.
When I tried remove react-native-background-geolocation
, build successes. But it is one of our core libraries, can not be remove from dependencies.
When I remove
configurations.all {
resolutionStrategy {
}
}
nothing changed. gradle plugin still conflicting with mauron85/react-native-background-geolocation
Same I tWhen I commented apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
. Build successed.
Update:
This is Repproduce Error Repo: https://github.com/thuan-nguyen-js/reproduce-onesignal-gradle-plugin-error
@jkasten2 please take a look
Hello, I met some issue with Onesignal Gradle Plugin when upgraded my project to React Native 0.60.6.
When apply
com.onesignal.androidsdk.onesignal-gradle-plugin
gradle build always rise Error with below outputs:Everything fine when disable one signal gradle plugin
I think
one signal-gradle-plugin
tried to do something out ofone signal
scope. And my temporary solution is don't applyplugin
when build project.Please Add The Following
Project Setup
build.gradle
app/build.gradle
Full Error
Dependency Tree
Run
./gradlew app:dependencies