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

Error while building application on android #230

Open
ManishPrakharan1 opened this issue Oct 6, 2022 · 1 comment
Open

Error while building application on android #230

ManishPrakharan1 opened this issue Oct 6, 2022 · 1 comment

Comments

@ManishPrakharan1
Copy link

The following error messages are coming in Android while building mobile app.

Showing below message
I think some issue is in the build.gradle file of terrylinla/react-native-sketch-canvas dependency.
I am facing issues while running the application.

> Configure project :react-native-sketch-canvas
Evaluating project ':react-native-sketch-canvas' using build file '/Users/user/Desktop/app/node_modules/@terrylinla/react-native-sketch-canvas/android/build.gradle'.

A problem occurred evaluating project ':react-native-sketch-canvas'.
> Could not find method provided() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Please provide a permanent solution.

My react-native info

    OS: macOS 12.6
    CPU: (8) arm64 Apple M1
    Memory: 89.59 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.9.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.1 - /opt/homebrew/bin/npm
    Watchman: 2022.09.19.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK:
      API Levels: 31, 32, 33
      Build Tools: 29.0.2, 29.0.3, 30.0.3, 31.0.0, 33.0.0
      System Images: android-29 | Google APIs ARM 64 v8a, android-30 | Google Play ARM 64 v8a, android-30 | Google APIs ATD ARM 64 v8a, android-31 | ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a, android-33 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9014738
    Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.16.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0 
    react-native: 0.70.1 => 0.70.1 
  npmGlobalPackages:
     create-react-native-app: 3.8.0
     react-native-cli: 2.0.1
@kennCK
Copy link

kennCK commented Nov 11, 2022

Change the provided to api

image

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

2 participants