Cannot resolve symbol “OnMapReadyCallBack” ERROR











up vote
-1
down vote

favorite












I want to implement OnMapReadyCallBack interface on my Fragmeent. I added the following to the gradle.



maven {
url 'https://maven.google.com/'
name 'Google'
}



Then also I installed Google Play Services SDK.



And also added to dependencies:



implementation 'com.google.android.gms:play-services-vision:17.0.2'


Despite all that done, I still get that error?
What is the reason?



[installed google play srvices][1]



https://i.stack.imgur.com/bQl3C.jpg










share|improve this question
























  • When you try to build it it works?
    – Vadim Eksler
    Nov 7 at 7:51












  • Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
    – Seymur Ayvazov
    Nov 7 at 7:54












  • Studio shows error, but try to run it on device
    – Vadim Eksler
    Nov 7 at 7:55










  • post fragment code
    – Bek
    Nov 7 at 8:04










  • I did that still the same
    – Seymur Ayvazov
    Nov 7 at 8:04















up vote
-1
down vote

favorite












I want to implement OnMapReadyCallBack interface on my Fragmeent. I added the following to the gradle.



maven {
url 'https://maven.google.com/'
name 'Google'
}



Then also I installed Google Play Services SDK.



And also added to dependencies:



implementation 'com.google.android.gms:play-services-vision:17.0.2'


Despite all that done, I still get that error?
What is the reason?



[installed google play srvices][1]



https://i.stack.imgur.com/bQl3C.jpg










share|improve this question
























  • When you try to build it it works?
    – Vadim Eksler
    Nov 7 at 7:51












  • Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
    – Seymur Ayvazov
    Nov 7 at 7:54












  • Studio shows error, but try to run it on device
    – Vadim Eksler
    Nov 7 at 7:55










  • post fragment code
    – Bek
    Nov 7 at 8:04










  • I did that still the same
    – Seymur Ayvazov
    Nov 7 at 8:04













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I want to implement OnMapReadyCallBack interface on my Fragmeent. I added the following to the gradle.



maven {
url 'https://maven.google.com/'
name 'Google'
}



Then also I installed Google Play Services SDK.



And also added to dependencies:



implementation 'com.google.android.gms:play-services-vision:17.0.2'


Despite all that done, I still get that error?
What is the reason?



[installed google play srvices][1]



https://i.stack.imgur.com/bQl3C.jpg










share|improve this question















I want to implement OnMapReadyCallBack interface on my Fragmeent. I added the following to the gradle.



maven {
url 'https://maven.google.com/'
name 'Google'
}



Then also I installed Google Play Services SDK.



And also added to dependencies:



implementation 'com.google.android.gms:play-services-vision:17.0.2'


Despite all that done, I still get that error?
What is the reason?



[installed google play srvices][1]



https://i.stack.imgur.com/bQl3C.jpg







android android-studio android-fragments






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 7 at 8:08

























asked Nov 7 at 7:49









Seymur Ayvazov

13




13












  • When you try to build it it works?
    – Vadim Eksler
    Nov 7 at 7:51












  • Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
    – Seymur Ayvazov
    Nov 7 at 7:54












  • Studio shows error, but try to run it on device
    – Vadim Eksler
    Nov 7 at 7:55










  • post fragment code
    – Bek
    Nov 7 at 8:04










  • I did that still the same
    – Seymur Ayvazov
    Nov 7 at 8:04


















  • When you try to build it it works?
    – Vadim Eksler
    Nov 7 at 7:51












  • Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
    – Seymur Ayvazov
    Nov 7 at 7:54












  • Studio shows error, but try to run it on device
    – Vadim Eksler
    Nov 7 at 7:55










  • post fragment code
    – Bek
    Nov 7 at 8:04










  • I did that still the same
    – Seymur Ayvazov
    Nov 7 at 8:04
















When you try to build it it works?
– Vadim Eksler
Nov 7 at 7:51






When you try to build it it works?
– Vadim Eksler
Nov 7 at 7:51














Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
– Seymur Ayvazov
Nov 7 at 7:54






Vadim Eksler I cleaned the project, then restarted, rebuilt it, however still the same error
– Seymur Ayvazov
Nov 7 at 7:54














Studio shows error, but try to run it on device
– Vadim Eksler
Nov 7 at 7:55




Studio shows error, but try to run it on device
– Vadim Eksler
Nov 7 at 7:55












post fragment code
– Bek
Nov 7 at 8:04




post fragment code
– Bek
Nov 7 at 8:04












I did that still the same
– Seymur Ayvazov
Nov 7 at 8:04




I did that still the same
– Seymur Ayvazov
Nov 7 at 8:04

















active

oldest

votes











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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53185347%2fcannot-resolve-symbol-onmapreadycallback-error%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53185347%2fcannot-resolve-symbol-onmapreadycallback-error%23new-answer', 'question_page');
}
);

Post as a guest




















































































這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()