FAILURE: Build failed with an exception.
-
Where:
Build file ‘E:\HS\android\build.gradle’ line: 16 -
What went wrong:
A problem occurred evaluating root project ‘HS’.
Could not find method implementation() for arguments [com.android.support:multidex:1.0.3] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
-
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
BUILD FAILED in 7s
error Failed to install the app. Make sure you have the Android development environment set up: Setting up the development environment · React Native. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.