Skip to content
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

Configuration with name 'compile' not found. #53

Open
yashpyraj opened this issue Mar 28, 2023 · 0 comments
Open

Configuration with name 'compile' not found. #53

yashpyraj opened this issue Mar 28, 2023 · 0 comments

Comments

@yashpyraj
Copy link

when creating build with gradle version

android/build.gradle:

=> classpath 'com.android.tools.build:gradle:7.1.2'

android/gradle/wrapper/gradle-wrapper.properties:

=> distributionUrl=https://services.gradle.org/distributions/gradle-7.2-all.zip

A problem occurred configuring project ':@mokriya_react-native-zoom-us-bridge'.

Resolving dependency configuration 'implementation' is not allowed as it is defined as 'canBeResolved=false'.
Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'implementation' should be resolved.

  • 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 707ms
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details.
➜ UrbanProProviderApp git:(master) ✗ react-native run-android
(node:23020) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...

Configure project :@mokriya_react-native-zoom-us-bridge
WARNING:The specified Android SDK Build Tools version (30.0.2) is ignored, as it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.1.2.
Android SDK Build Tools 30.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '30.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/yashraj/Desktop/test/crossplatform_providerapp/UrbanProProviderApp/node_modules/@mokriya/react-native-zoom-us-bridge/android/build.gradle' line: 116

  • What went wrong:
    A problem occurred configuring project ':@mokriya_react-native-zoom-us-bridge'.

Configuration with name 'compile' not found.

  • 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 658ms
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: ./gradlew app:installDebug. Run CLI with --verbose flag for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant