Unable to see java compiler line for failed build that provides hint or redirects to error path












0















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.










share|improve this question

























  • 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
















0















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.










share|improve this question

























  • 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














0












0








0


1






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.










share|improve this question
















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 android android-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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



















  • 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

















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












1 Answer
1






active

oldest

votes


















1














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






share|improve this answer


























  • 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











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


}
});














draft saved

draft discarded


















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









1














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






share|improve this answer


























  • 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
















1














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






share|improve this answer


























  • 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














1












1








1







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






share|improve this answer















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







share|improve this answer














share|improve this answer



share|improve this answer








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



















  • 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




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

How to fix TextFormField cause rebuild widget in Flutter