Android studio version:
Android studio arctic fox | 2020.3.1 patch 1
build #ai-203.7717.56.2031.7621141, build on August 8, 2021
Gradle version: 7.0.0
Add a new warehouse under the gradle of the project
An error is reported:
build was configured to prefer settings repositories over project repositories but repository ‘Maven’ was added by build file ‘build. Gradle’
Solution
put the library you want to add into setting.gradle
Read More:
- Add PageHelper spring boot starter dependency to springboot and report an error
- Where’s Maven pom.xml Configure aliyun warehouse in
- Svn warehouse migration in Windows Environment
- Pull the git warehouse code IDEA reports an error: Clone failed: Authentication failed for’http://10.xx.XXXXXXXXXXXXXXXXX’
- [docker] error in deleting image: image is referenced in multiple repositories
- Create xxx.vue file with vscode, add comments and report error
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- Use less.js to verify and report an error in the Vue file of vscode
- Start react-native after updating Xcode11 and report an error: Unknown argument type ‘_attribute_’ in method -[RCTAppState getCurren
- One of the configured repositories failed (Unknown), and yum doesn’t have enough cached data to cont
- Unity package encountered an error report about gradle build failed
- In idea, @ slf4j is used to report an error, but log is not found
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- Does flutter report an error after upgrading 2.5?
- In Vue, use echorts to report an error: “typeerror: cannot read property ‘init’ of undefined” error reporting reason and solution
- When generating a test report in HTML format, report [typeerror: a bytes like object is required, not ‘STR’]
- Mybatis passes in multiple parameters to mapper. And uses @param details to report an error
- Using apt mirror to build Debian local warehouse
- The project uses fastjason to report an error