Skip to content

Instantly share code, notes, and snippets.

@passy
Created November 26, 2019 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passy/d88b3e15fcf486fb90df53e564ccaafb to your computer and use it in GitHub Desktop.
Save passy/d88b3e15fcf486fb90df53e564ccaafb to your computer and use it in GitHub Desktop.
~/D/react-native    ./gradlew :ReactAndroid:tasks 9.3s  Tue 26 Nov 14:58:29 2019
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/realpassy/Downloads/react-native/ReactAndroid/build.gradle' line: 101
* What went wrong:
A problem occurred evaluating project ':ReactAndroid'.
> Could not find matching constructor for: org.gradle.api.GradleScriptException(String)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':ReactAndroid'.
> compileSdkVersion is not specified.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 576ms
@evelant
Copy link

evelant commented Sep 6, 2020

Did you ever find a resolution for this? I'm facing the same issue and haven't been able to figure out how to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment