chintan369 / MultiImagePicker

This library allows selecting multiple images with selection limit options in Android
14 stars 1 forks source link

> Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle' #3

Open Gianrojas01 opened 1 year ago

Gianrojas01 commented 1 year ago

Hey im getting this error message when I copy and paste this in the settings.graddle. Any Idea how to fix it? thank you

dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url "https://jitpack.io" } maven { url "https://oss.jfrog.org/libs-snapshot" } jcenter() // Warning: this repository is going to shut down soon } }

error:

Build file 'C:\Users\Gian\Desktop\Monetus\build.gradle' line: 27

A problem occurred evaluating root project 'monetus'.

Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'

I'm using android

Android Studio Bumblebee | 2021.1.1 Patch 3 Build #AI-211.7628.21.2111.8309675, built on March 16, 2022 Runtime version: 11.0.11+9-b60-7590822 amd64 VM: OpenJDK 64-Bit Server VM by Oracle Corporation Windows 10 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 4 Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false Non-Bundled Plugins: org.jetbrains.kotlin (211-1.6.21-release-334-AS7442.40)