Failed to resolve: com.android.support:support-v4:28.0.0-rc01
I keeping getting these issues once I synced my gradle file. My gradle file looks like this.
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.calcounter.whattappclone"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:design:28.0.0-rc02'
implementation 'com.andriod.support:support-v4:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-storage:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-database:3.2.2'
implementation 'com.andriod.support:support-v4:27.0.0-rc01'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
implementation 'com.squareup.picasso:picasso:2.71828'
testImplementation 'junit:junit:4.12'
//implementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
**here is my gradle.project file that i have been using, still errors occur, i have tried changing the dependencies but still same error occurs
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
Any solutions this? please



add a comment |
I keeping getting these issues once I synced my gradle file. My gradle file looks like this.
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.calcounter.whattappclone"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:design:28.0.0-rc02'
implementation 'com.andriod.support:support-v4:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-storage:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-database:3.2.2'
implementation 'com.andriod.support:support-v4:27.0.0-rc01'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
implementation 'com.squareup.picasso:picasso:2.71828'
testImplementation 'junit:junit:4.12'
//implementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
**here is my gradle.project file that i have been using, still errors occur, i have tried changing the dependencies but still same error occurs
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
Any solutions this? please



Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
its working now, thanks guys
– M B
Oct 18 '18 at 14:45
add a comment |
I keeping getting these issues once I synced my gradle file. My gradle file looks like this.
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.calcounter.whattappclone"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:design:28.0.0-rc02'
implementation 'com.andriod.support:support-v4:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-storage:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-database:3.2.2'
implementation 'com.andriod.support:support-v4:27.0.0-rc01'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
implementation 'com.squareup.picasso:picasso:2.71828'
testImplementation 'junit:junit:4.12'
//implementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
**here is my gradle.project file that i have been using, still errors occur, i have tried changing the dependencies but still same error occurs
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
Any solutions this? please



I keeping getting these issues once I synced my gradle file. My gradle file looks like this.
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.calcounter.whattappclone"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:design:28.0.0-rc02'
implementation 'com.andriod.support:support-v4:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.google.firebase:firebase-storage:11.8.0'
implementation 'com.google.firebase:firebase-database:11.8.0'
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-database:3.2.2'
implementation 'com.andriod.support:support-v4:27.0.0-rc01'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.+'
implementation 'com.squareup.picasso:picasso:2.71828'
testImplementation 'junit:junit:4.12'
//implementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
**here is my gradle.project file that i have been using, still errors occur, i have tried changing the dependencies but still same error occurs
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
Any solutions this? please






edited Oct 18 '18 at 14:44


Bruno
1,1351718
1,1351718
asked Oct 18 '18 at 12:22


M BM B
35
35
Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
its working now, thanks guys
– M B
Oct 18 '18 at 14:45
add a comment |
Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
its working now, thanks guys
– M B
Oct 18 '18 at 14:45
Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
its working now, thanks guys
– M B
Oct 18 '18 at 14:45
its working now, thanks guys
– M B
Oct 18 '18 at 14:45
add a comment |
2 Answers
2
active
oldest
votes
Use the same version and the latest stable version for:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.andriod.support:support-v4:28.0.0'
And remove the duplicate (support-v4
) one. Update your gradle
in your root build.gradle
too:
classpath 'com.android.tools.build:gradle:3.2.1'
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
add a comment |
I had a similar problem. It turned out that I had 'Offline work' ticked in settings and this was stopping Android studio going to the internet for dependencies. I did not have the required dependencies on local repo so 'Unable to resolve..' kept happening.
Turning it off solved problem.
This is pretty obvious when I thought about it but it caught me out.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52873932%2ffailed-to-resolve-com-android-supportsupport-v428-0-0-rc01%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use the same version and the latest stable version for:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.andriod.support:support-v4:28.0.0'
And remove the duplicate (support-v4
) one. Update your gradle
in your root build.gradle
too:
classpath 'com.android.tools.build:gradle:3.2.1'
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
add a comment |
Use the same version and the latest stable version for:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.andriod.support:support-v4:28.0.0'
And remove the duplicate (support-v4
) one. Update your gradle
in your root build.gradle
too:
classpath 'com.android.tools.build:gradle:3.2.1'
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
add a comment |
Use the same version and the latest stable version for:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.andriod.support:support-v4:28.0.0'
And remove the duplicate (support-v4
) one. Update your gradle
in your root build.gradle
too:
classpath 'com.android.tools.build:gradle:3.2.1'
Use the same version and the latest stable version for:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.andriod.support:support-v4:28.0.0'
And remove the duplicate (support-v4
) one. Update your gradle
in your root build.gradle
too:
classpath 'com.android.tools.build:gradle:3.2.1'
answered Oct 18 '18 at 12:26


ʍѳђઽ૯ทʍѳђઽ૯ท
10.7k42879
10.7k42879
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
add a comment |
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
Also consider updating the Firebase dependencies.
– ʍѳђઽ૯ท
Oct 18 '18 at 12:31
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
i have done that and still i get this error; Failed to resolve: com.andriod.support:support-v4:28.0.0 Show in File Show in Project Structure dialog
– M B
Oct 18 '18 at 12:47
add a comment |
I had a similar problem. It turned out that I had 'Offline work' ticked in settings and this was stopping Android studio going to the internet for dependencies. I did not have the required dependencies on local repo so 'Unable to resolve..' kept happening.
Turning it off solved problem.
This is pretty obvious when I thought about it but it caught me out.
add a comment |
I had a similar problem. It turned out that I had 'Offline work' ticked in settings and this was stopping Android studio going to the internet for dependencies. I did not have the required dependencies on local repo so 'Unable to resolve..' kept happening.
Turning it off solved problem.
This is pretty obvious when I thought about it but it caught me out.
add a comment |
I had a similar problem. It turned out that I had 'Offline work' ticked in settings and this was stopping Android studio going to the internet for dependencies. I did not have the required dependencies on local repo so 'Unable to resolve..' kept happening.
Turning it off solved problem.
This is pretty obvious when I thought about it but it caught me out.
I had a similar problem. It turned out that I had 'Offline work' ticked in settings and this was stopping Android studio going to the internet for dependencies. I did not have the required dependencies on local repo so 'Unable to resolve..' kept happening.
Turning it off solved problem.
This is pretty obvious when I thought about it but it caught me out.
answered Jan 1 at 14:52
Anthony MullenAnthony Mullen
61
61
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52873932%2ffailed-to-resolve-com-android-supportsupport-v428-0-0-rc01%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Provide your whole gradle file
– Mohammed Junaid
Oct 18 '18 at 12:24
and since google has released stable version of v28 library remove -rc** tags from dependency
– Mohammed Junaid
Oct 18 '18 at 12:29
Have you update your gradle version?
– ישו אוהב אותך
Oct 18 '18 at 14:30
its working now, thanks guys
– M B
Oct 18 '18 at 14:45