本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长


+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

暂无数据

JAVA_HOME is not set and no 'java' command could be found in your PATH (Android Studio)

发布于2022-10-24 05:43     阅读(1292)     评论(0)     点赞(30)     收藏(1)


I updated my android studio to 4.1.0 just after that my project (in flutter) has been giving this error constantly.

I downgraded my android studio back to 4.0.1 (the previous version I was using), I still am getting the same error.

I saw some articles on the same error in StackOverflow, it suggested to downgrade but it didn't work, the rest of the suggestions are too complicated for me as I am just a beginner.

I even tried changing Project SDK under Project Structure but even that didn't work. enter image description here

After installing java jdk (from oracle windowsx64) and changing path name and value as suggested here Setting JAVA_HOME , I am now getting a whole set of another error, which I basically don't understand a bit.

enter image description here


解决方案


Here you can try this Set JAVA_HOME This solution for window 10



所属网站分类: 技术文章 > 问答

作者:黑洞官方问答小能手

链接:http://www.javaheidong.com/blog/article/561677/76b387e27c557c658d77/

来源:java黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

30 0
收藏该文
已收藏

评论内容:(最多支持255个字符)