Unresolved Dependency :Could Not Find Any Version That Matches Com.android.support:appcompat-v7:29.+
There is always this unresolved dependency error showing up when I open a new android project on intelliJ
I have tried:
- unchecking the offline box
- updating gradle
- downloading the latest version from gradel's official website and setting gradle source to the file.
- changing from "29.+." to "29.0.0"
Error message:
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+. Show Details Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+. Show Details Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+. Show Details Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+. Show Details Affected Modules: app
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+. Show Details Affected Modules: app
Answer
You should use Android Studio. Downloading gradle and linking it to a project yourself is not a good practice. You should let your IDE handle all that work for you whilst you focus on writing good code with your precious time. What you should do do is
- Download Android studio from the official site
- Create a new project and get a fast stable internet connection
- Android studio will download and install gradle at the first build and you are good to go
You may even make a new project with the best (highest) SDK version, and then check back with your own project the differences in the Gradle files. That can really help.
Related Questions
- → should I choose reactjs+f7 or f7+vue.js?
- → Phonegap Android write to sd card
- → Local reference jquery script in nanohttpd (Android)
- → Click to navigate on mobile devices
- → How to allow api access to android or ios app only(laravel)?
- → Access the Camera and CameraRoll on Android using React Native?
- → React native change listening port
- → What is the default unit of style in React Native?
- → Google play market autocomplete icon
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → Using Laravel with Genymotion
- → react native using like web-based ajax function
- → react native pdf View