Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

ubuntu / usr / lib / jvm / java-8-oracle / bin / java '' finished with non-zero exit value 1 #71

Open
jinzw1993 opened this issue Feb 11, 2016 · 3 comments

Comments

@jinzw1993
Copy link

I use ubuntu java oracle 1.8 android studio. Compile error: Error: Execution failed for task ': rebound-android-example: preDexDebug'.

Com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command' / usr / lib / jvm / java-8-oracle / bin / java '' finished with non-zero exit value 1

@sreeramp96
Copy link

I had got the same error. But I resolved the issue by adding the following
missing line from build.gradle in dependencies. compile
'com.parse.bolts:bolts-android:1.+'

After adding this line, my dependencies body was like this:
dependencies {
compile fileTree(dir: 'libs', include: ['.jar'])
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.parse.bolts:bolts-android:1.+'
compile fileTree(dir: 'libs', include: 'Parse-
.jar')
compile fileTree(dir: 'libs', include: "commons-io-2.4.jar") }

You can match with yours too and see if it can help you too

Sreeram.P
BTech.Computer Science
College of engineering,Cherthala
Alappuzha

On Thu, Feb 11, 2016 at 4:57 PM, jinzw1993 notifications@github.com wrote:

I use ubuntu java oracle 1.8 android studio. Compile error: Error:
Execution failed for task ': rebound-android-example: preDexDebug'.

Com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command' / usr / lib /
jvm / java-8-oracle / bin / java '' finished with non-zero exit value 1


Reply to this email directly or view it on GitHub
#71.

@mfurtak
Copy link

mfurtak commented May 8, 2016

I solved this by changing the JDK location to point at a Java 1.7 JDK instead of a Java 1.8 JDK.

screen shot 2016-05-07 at 8 37 18 pm

This dialog can be brought up via File | Project Structure...

@adilek
Copy link

adilek commented Aug 17, 2016

I added a JDK8 support.
Refer to: #77

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants