Failed to resolve: firebase-storage-15.0.0
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
When I add Firebase to my application it shows this error:
Failed to resolve: 'firebase-storage-15.0.0'
And an error on this line: com.android.support:appcompat-v7:28.0.0
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
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'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
}
apply plugin: 'com.google.gms.google-services'
android firebase firebase-realtime-database build.gradle firebase-storage
add a comment |
When I add Firebase to my application it shows this error:
Failed to resolve: 'firebase-storage-15.0.0'
And an error on this line: com.android.support:appcompat-v7:28.0.0
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
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'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
}
apply plugin: 'com.google.gms.google-services'
android firebase firebase-realtime-database build.gradle firebase-storage
Can I see your project levelbuild.gradle
file?
– Ishaan Javali
Nov 21 '18 at 23:28
add a comment |
When I add Firebase to my application it shows this error:
Failed to resolve: 'firebase-storage-15.0.0'
And an error on this line: com.android.support:appcompat-v7:28.0.0
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
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'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
}
apply plugin: 'com.google.gms.google-services'
android firebase firebase-realtime-database build.gradle firebase-storage
When I add Firebase to my application it shows this error:
Failed to resolve: 'firebase-storage-15.0.0'
And an error on this line: com.android.support:appcompat-v7:28.0.0
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.rud.younis.csedepertment"
minSdkVersion 19
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'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
}
apply plugin: 'com.google.gms.google-services'
android firebase firebase-realtime-database build.gradle firebase-storage
android firebase firebase-realtime-database build.gradle firebase-storage
edited Nov 22 '18 at 9:37
Alex Mamo
47.2k82965
47.2k82965
asked Nov 21 '18 at 23:21
Younis RahmanYounis Rahman
54
54
Can I see your project levelbuild.gradle
file?
– Ishaan Javali
Nov 21 '18 at 23:28
add a comment |
Can I see your project levelbuild.gradle
file?
– Ishaan Javali
Nov 21 '18 at 23:28
Can I see your project level
build.gradle
file?– Ishaan Javali
Nov 21 '18 at 23:28
Can I see your project level
build.gradle
file?– Ishaan Javali
Nov 21 '18 at 23:28
add a comment |
3 Answers
3
active
oldest
votes
You have some major typos in your dependencies:
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
What's with the 16.0.1:15.0.0
?
Change it to 15.0.0
or 16.0.1
add a comment |
You are getting the following error:
Failed to resolve: 'firebase-storage-15.0.0'
Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
to
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
Because versions such as 16.0.1:15.0.0
does not exist.
In your top level build.gradle
file please be sure to have the latest version of Google Service plugin:
classpath 'com.google.gms:google-services:4.2.0'
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
add a comment |
I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.
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%2f53421818%2ffailed-to-resolve-firebase-storage-15-0-0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have some major typos in your dependencies:
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
What's with the 16.0.1:15.0.0
?
Change it to 15.0.0
or 16.0.1
add a comment |
You have some major typos in your dependencies:
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
What's with the 16.0.1:15.0.0
?
Change it to 15.0.0
or 16.0.1
add a comment |
You have some major typos in your dependencies:
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
What's with the 16.0.1:15.0.0
?
Change it to 15.0.0
or 16.0.1
You have some major typos in your dependencies:
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
What's with the 16.0.1:15.0.0
?
Change it to 15.0.0
or 16.0.1
answered Nov 21 '18 at 23:32
TWLTWL
2,083625
2,083625
add a comment |
add a comment |
You are getting the following error:
Failed to resolve: 'firebase-storage-15.0.0'
Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
to
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
Because versions such as 16.0.1:15.0.0
does not exist.
In your top level build.gradle
file please be sure to have the latest version of Google Service plugin:
classpath 'com.google.gms:google-services:4.2.0'
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
add a comment |
You are getting the following error:
Failed to resolve: 'firebase-storage-15.0.0'
Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
to
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
Because versions such as 16.0.1:15.0.0
does not exist.
In your top level build.gradle
file please be sure to have the latest version of Google Service plugin:
classpath 'com.google.gms:google-services:4.2.0'
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
add a comment |
You are getting the following error:
Failed to resolve: 'firebase-storage-15.0.0'
Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
to
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
Because versions such as 16.0.1:15.0.0
does not exist.
In your top level build.gradle
file please be sure to have the latest version of Google Service plugin:
classpath 'com.google.gms:google-services:4.2.0'
You are getting the following error:
Failed to resolve: 'firebase-storage-15.0.0'
Because you are using a wrong dependencies in your code. To solve this, please change the following lines of code:
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1:15.0.0'
to
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-storage:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
Because versions such as 16.0.1:15.0.0
does not exist.
In your top level build.gradle
file please be sure to have the latest version of Google Service plugin:
classpath 'com.google.gms:google-services:4.2.0'
answered Nov 22 '18 at 9:35
Alex MamoAlex Mamo
47.2k82965
47.2k82965
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
add a comment |
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
Hi Younis! Have you tried my solution above, does it work?
– Alex Mamo
Nov 23 '18 at 9:22
add a comment |
I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.
add a comment |
I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.
add a comment |
I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.
I had the same issue. I just updated my android studio and it fixes the error. So, just update your android studio.
answered Feb 15 at 10:41
Kamran AhmedKamran Ahmed
1
1
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%2f53421818%2ffailed-to-resolve-firebase-storage-15-0-0%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
Can I see your project level
build.gradle
file?– Ishaan Javali
Nov 21 '18 at 23:28