进程android.process.safer,Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished wi...

Android Studio 2.2.3;

Java 8;

Ubuntu 14.10;

laptop: Asus K72F.

I spent no less than twenty hours on a Udacity course, learning the basics of XML as part of an Android course.

I installed Java on my Ubuntu machine, then Android Studio IDE.

Followed instructions on the course's videos and pages.

Tried saving my first project, but never made it to the first step...

Error:Process 'command '/usr/local/android-studio/jre/bin/java'' finished with non-zero exit value 2

I've found no intelligible instructions on the web.

I've been using Ubuntu, Linux, Mac OS X and Unix for ten years now, and I've solved one or two hundred problems with and without the command line, most often copying and pasting from Stack Overflow pages.

I've explored menus on Android Studio, I've opened lib folders. Some posts suggested changing libraries but failed to mention which ones and how.

Another post suggested changing "overrides" but, without a sealed project, Code > Override Methods stays grey and I can't act on it ... Another vicious circle.

One post suggested downgrading to Java 7. I thought the IDE setup for the Linux community might be slightly old, so I uninstalled Java 8 and got Java 7. Got rid of the IDE folder and reinstalled Android Studio, but this time I put it in /usr/local to play it safer. No, Java 7 wasn't supported so I had to upgrade and go back to Java 8.

I've been stuck for three weeks now. Yesterday I tried installing the latest version of this IDE on Windows but there's a bug and it crashes before opening.

I would appreciate it if you could state instructions taking nothing for granted, I am an absolute beginner with Android and gradle and the jargon is overwhelmingly different from Unix.

This reminds of the time when everybody suggested opening a Terminal window but nobody said how.

Please tell me which menus I have to go to, what lines to change, or which libraries to change and where to fetch them.

Thank you for your time and trouble!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值