code is underlined for white spaces in android studio but even after correcting it
up vote
-1
down vote
favorite
code is underlined(red) for white spaces in android studio but even after correcting it and even the gradle is not sync(ing) the code and going to of my hands please check the image and give a solution
image: https://i.stack.imgur.com/e9zTv.png
image 2 : https://i.stack.imgur.com/DJsQj.png
java android android-studio android-gradle whitespace
add a comment |
up vote
-1
down vote
favorite
code is underlined(red) for white spaces in android studio but even after correcting it and even the gradle is not sync(ing) the code and going to of my hands please check the image and give a solution
image: https://i.stack.imgur.com/e9zTv.png
image 2 : https://i.stack.imgur.com/DJsQj.png
java android android-studio android-gradle whitespace
1
Can you please show how yourmLocationListener
is declared?
– Mikhail Olshanski
Nov 11 at 7:10
1
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do withmLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating fromcompile
toimplementation
and/orapi
– Mikhail Olshanski
Nov 11 at 7:23
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
code is underlined(red) for white spaces in android studio but even after correcting it and even the gradle is not sync(ing) the code and going to of my hands please check the image and give a solution
image: https://i.stack.imgur.com/e9zTv.png
image 2 : https://i.stack.imgur.com/DJsQj.png
java android android-studio android-gradle whitespace
code is underlined(red) for white spaces in android studio but even after correcting it and even the gradle is not sync(ing) the code and going to of my hands please check the image and give a solution
image: https://i.stack.imgur.com/e9zTv.png
image 2 : https://i.stack.imgur.com/DJsQj.png
java android android-studio android-gradle whitespace
java android android-studio android-gradle whitespace
edited Nov 11 at 10:57
asked Nov 11 at 6:59
hey SRC
42
42
1
Can you please show how yourmLocationListener
is declared?
– Mikhail Olshanski
Nov 11 at 7:10
1
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do withmLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating fromcompile
toimplementation
and/orapi
– Mikhail Olshanski
Nov 11 at 7:23
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58
add a comment |
1
Can you please show how yourmLocationListener
is declared?
– Mikhail Olshanski
Nov 11 at 7:10
1
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do withmLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating fromcompile
toimplementation
and/orapi
– Mikhail Olshanski
Nov 11 at 7:23
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58
1
1
Can you please show how your
mLocationListener
is declared?– Mikhail Olshanski
Nov 11 at 7:10
Can you please show how your
mLocationListener
is declared?– Mikhail Olshanski
Nov 11 at 7:10
1
1
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do with
mLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating from compile
to implementation
and/or api
– Mikhail Olshanski
Nov 11 at 7:23
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do with
mLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating from compile
to implementation
and/or api
– Mikhail Olshanski
Nov 11 at 7:23
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53246537%2fcode-is-underlined-for-white-spaces-in-android-studio-but-even-after-correcting%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
1
Can you please show how your
mLocationListener
is declared?– Mikhail Olshanski
Nov 11 at 7:10
1
Don't link to images of code. Put the code here, and tell us what the error message is for the line
– Gabe Sechan
Nov 11 at 7:16
Anyway, the IDE gives you a tooltip about Incompatible types, looks like the problem might have something to do with
mLocationListener
's declaration. By the way, it seems that the gradle sync works and it just geives you a warning message about migrating fromcompile
toimplementation
and/orapi
– Mikhail Olshanski
Nov 11 at 7:23
added another pic please try to look at it now
– hey SRC
Nov 11 at 10:58