Unable to see java compiler line for failed build that provides hint or redirects to error path
This is how the build window shows java compiler error in other machine having the same android studio, same project.
https://imgur.com/a/2JQjJhX
In other machine
This is how the same project, same error, Android studio is reacting to in my machine having the same android studio version
https://imgur.com/a/BRy6phT
My Machine
https://imgur.com/a/TH6VX4T
My Machine
An error has been generated intentionally to show the actual problem. The real problem is, I am not getting that java compiler line to expand in my machine so that I can get an idea where the error is actually.
I have tried to invalidate cache/restart, system restart, imported settings of another android studio that is showing that java compiler line.
Thank you in advance.
java


add a comment |
This is how the build window shows java compiler error in other machine having the same android studio, same project.
https://imgur.com/a/2JQjJhX
In other machine
This is how the same project, same error, Android studio is reacting to in my machine having the same android studio version
https://imgur.com/a/BRy6phT
My Machine
https://imgur.com/a/TH6VX4T
My Machine
An error has been generated intentionally to show the actual problem. The real problem is, I am not getting that java compiler line to expand in my machine so that I can get an idea where the error is actually.
I have tried to invalidate cache/restart, system restart, imported settings of another android studio that is showing that java compiler line.
Thank you in advance.
java


your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
It is saying that Your model does not contain any method name withgetErrorTestHere()
.
– Jaymin
Jan 2 at 6:40
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55
add a comment |
This is how the build window shows java compiler error in other machine having the same android studio, same project.
https://imgur.com/a/2JQjJhX
In other machine
This is how the same project, same error, Android studio is reacting to in my machine having the same android studio version
https://imgur.com/a/BRy6phT
My Machine
https://imgur.com/a/TH6VX4T
My Machine
An error has been generated intentionally to show the actual problem. The real problem is, I am not getting that java compiler line to expand in my machine so that I can get an idea where the error is actually.
I have tried to invalidate cache/restart, system restart, imported settings of another android studio that is showing that java compiler line.
Thank you in advance.
java


This is how the build window shows java compiler error in other machine having the same android studio, same project.
https://imgur.com/a/2JQjJhX
In other machine
This is how the same project, same error, Android studio is reacting to in my machine having the same android studio version
https://imgur.com/a/BRy6phT
My Machine
https://imgur.com/a/TH6VX4T
My Machine
An error has been generated intentionally to show the actual problem. The real problem is, I am not getting that java compiler line to expand in my machine so that I can get an idea where the error is actually.
I have tried to invalidate cache/restart, system restart, imported settings of another android studio that is showing that java compiler line.
Thank you in advance.
java


java


edited Jan 6 at 2:55
Sagar Patel
asked Jan 2 at 6:32


Sagar PatelSagar Patel
111310
111310
your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
It is saying that Your model does not contain any method name withgetErrorTestHere()
.
– Jaymin
Jan 2 at 6:40
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55
add a comment |
your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
It is saying that Your model does not contain any method name withgetErrorTestHere()
.
– Jaymin
Jan 2 at 6:40
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55
your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
It is saying that Your model does not contain any method name with
getErrorTestHere()
.– Jaymin
Jan 2 at 6:40
It is saying that Your model does not contain any method name with
getErrorTestHere()
.– Jaymin
Jan 2 at 6:40
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55
add a comment |
1 Answer
1
active
oldest
votes
there can be some changes in settings check setting in an android-studio
or
if you don't want to take this long process you can try exporting of your settings(for a backup) and import settings from other pc
I am sure it will solve your problems
or check java versions on both pcs maybe because of different java versions
this problem can be possible
different java versions shows different errors
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
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%2f54002177%2funable-to-see-java-compiler-line-for-failed-build-that-provides-hint-or-redirect%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
there can be some changes in settings check setting in an android-studio
or
if you don't want to take this long process you can try exporting of your settings(for a backup) and import settings from other pc
I am sure it will solve your problems
or check java versions on both pcs maybe because of different java versions
this problem can be possible
different java versions shows different errors
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
add a comment |
there can be some changes in settings check setting in an android-studio
or
if you don't want to take this long process you can try exporting of your settings(for a backup) and import settings from other pc
I am sure it will solve your problems
or check java versions on both pcs maybe because of different java versions
this problem can be possible
different java versions shows different errors
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
add a comment |
there can be some changes in settings check setting in an android-studio
or
if you don't want to take this long process you can try exporting of your settings(for a backup) and import settings from other pc
I am sure it will solve your problems
or check java versions on both pcs maybe because of different java versions
this problem can be possible
different java versions shows different errors
there can be some changes in settings check setting in an android-studio
or
if you don't want to take this long process you can try exporting of your settings(for a backup) and import settings from other pc
I am sure it will solve your problems
or check java versions on both pcs maybe because of different java versions
this problem can be possible
different java versions shows different errors
edited Jan 7 at 9:45
answered Jan 2 at 7:15


Bharatmk257Bharatmk257
2817
2817
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
add a comment |
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
I have tried exporting settings of other android studio that is showing that java compiler line and imported in my android studio but unfortunately, it didn't solve the problem and i am still not getting that java compiler line for any error!
– Sagar Patel
Jan 2 at 7:16
1
1
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
did you check versions of jdk in both pc??
– Bharatmk257
Jan 2 at 7:19
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
My machine has: openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode) Machine that shows java compiler error: java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
– Sagar Patel
Jan 2 at 7:23
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
@Gic Bharat Abnd so that problem of java compiler has been solved after replacing java openJdk by jdk... We took time to do so because we did not want to take any risk in the middle while the project was going on... We had plan to replace hdd by ssd too... So everything took place at once... Now I can see that java compiler line...
– Sagar Patel
Jan 6 at 1:32
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%2f54002177%2funable-to-see-java-compiler-line-for-failed-build-that-provides-hint-or-redirect%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
your Support class does not have getErrortestHere() method.
– Saurabh Bhandari
Jan 2 at 6:40
It is saying that Your model does not contain any method name with
getErrorTestHere()
.– Jaymin
Jan 2 at 6:40
@SaurabhBhandari The error has been generated intentionally, actual problem is I am not getting that java compiler line in my android studio for any error.
– Sagar Patel
Jan 2 at 6:43
android does not have any such method not in there documentation. this may be in case of testing
– Saurabh Bhandari
Jan 2 at 6:55