On Android
Problem #1
What went wrong:
A problem occurred configuring project ':@shakebugs_react-native-shake'.
> Could not get unknown property 'javaCompileProvider' for object of type com.android.build.gradle.internal.api.LibraryVariantImpl.
Solution:
You should update the Gradle and Android Gradle Plugin. Shake requires at least 5.1.1 Gradle, 3.4 Android Gradle Plugin, and 28.0.3 build tools. Learn more here.
Problem #2
What went wrong:
A problem occurred evaluating root project 'SampleProject'.
> Cannot add task 'wrapper' as a task with that name already exists.
Solution:
You have defined Gradle wrapper multiple times. Remove Gradle wrapper task from project-level build.gradle:
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
distributionUrl = distributionUrl.replace("bin", "all")
}
If you have any other questions, don't hesitate to contact us through the Intercom bubble.
Or even better, join our Slack Community and get in touch with our developers within a few minutes.