Android Studio JRE process finished with non-zero exit value 1












0















With these dependencies present in build.gradle.



I am getting this error when i am trying to run the project




Process 'command '/Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with
non-zero exit value 1




    /*CamerAFragment*/
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
//compile "com.android.support:design:$rootProject.supportLibraryVersion"
//butterknife
// implementation 'com.jakewharton:butterknife:8.8.1'
//annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'
//google plus
implementation 'com.google.android.gms:play-services-auth:11.0.4'
/*Viper*/
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
// reactive
implementation "io.reactivex.rxjava2:rxjava:$rootProject.rxjava2Version"
implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion"
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
// dependency injection
implementation "com.google.dagger:dagger:$rootProject.dagger2Version"
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
provided 'javax.annotation:jsr250-api:1.0'
implementation 'javax.inject:javax.inject:1'
//multidex
implementation 'com.android.support:multidex:1.0.3'

//new start
// kapt 'com.google.dagger:dagger-android-processor:2.15'
// kapt 'com.google.dagger:dagger-compiler:2.15'
//new end

//animationasdasd
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
//DrawablePageIndicator
implementation 'com.augustopicciani.drawable_page_indicator:library:1.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

// AutoScrollView
implementation('cn.trinea.android.view.autoscrollviewpager:android-auto-scroll-view-pager:1.1.2') {
exclude module: 'support-v4'

}

//Cropper
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.7'
/*AWS*/
implementation 'com.amazonaws:aws-android-sdk-s3:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-core:2.6.+'

/*//glide
implementation 'com.github.bumptech.glide:glide:4.5.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'*/

//Country code
implementation 'com.hbb20:ccp:2.2.2'
// implementation 'com.hbb20:ccp:2.0.3'

//Underscore
implementation 'com.github.javadev:underscore:1.28'

//pdf opener
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'

//Crash
implementation 'com.google.firebase:firebase-crash:11.0.4'

/* // Check for v11.4.2 or higher
implementation 'com.google.firebase:firebase-core:15.0.0'*/

// Add dependency
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'

/*Custom Camera view*/
implementation project(':Cameralibrary')

/*App purchase */
implementation 'com.android.billingclient:billing:1.0'

/*OCR demo Gradle starts from here */

// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation "android.arch.lifecycle:extensions:${versions.lifecycle}"
implementation "android.arch.lifecycle:common-java8:${versions.lifecycle}"
implementation "com.getkeepsafe.relinker:relinker:${versions.relinker}"

implementation 'de.greenrobot:eventbus:2.4.0'
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leak_canary}"
debugImplementation "com.squareup.leakcanary:leakcanary-android:${versions.leak_canary}"
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation "com.commit451:PhotoView:${versions.photoview}"
// implementation 'com.viewpagerindicator:library:2.4.1@aar'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

//butterknife
implementation "com.jakewharton:butterknife:${versions.butterknife}"
// kapt "com.jakewharton:butterknife-compiler:${versions.butterknife}"
annotationProcessor "com.jakewharton:butterknife-compiler:${versions.butterknife}"
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'

//glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

implementation "com.android.support:design:${versions.design}"
implementation "com.android.support:design:${versions.appcompat_v7}"

//pdf shockwave
compile 'com.github.barteksc:pdfium-android:1.9.0'

//cat loader
implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.4'

//shimmer text
compile 'com.romainpiel.shimmer:library:1.4.0@aar'
/*End here */

// compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.2")

implementation 'com.google.firebase:firebase-ml-vision:18.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:16.2.3'
implementation 'com.android.support:exifinterface:28.0.0'









share|improve this question

























  • Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 16 '18 at 9:22













  • @cricket_007 thanks for your help any suggestion regarding my issue?

    – TechValens
    Nov 16 '18 at 9:33













  • Can you answer the question I asked?

    – cricket_007
    Nov 16 '18 at 9:41











  • @cricket_007 No this never happens with less dependencies.

    – TechValens
    Nov 16 '18 at 9:45











  • And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

    – cricket_007
    Nov 16 '18 at 9:47
















0















With these dependencies present in build.gradle.



I am getting this error when i am trying to run the project




Process 'command '/Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with
non-zero exit value 1




    /*CamerAFragment*/
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
//compile "com.android.support:design:$rootProject.supportLibraryVersion"
//butterknife
// implementation 'com.jakewharton:butterknife:8.8.1'
//annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'
//google plus
implementation 'com.google.android.gms:play-services-auth:11.0.4'
/*Viper*/
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
// reactive
implementation "io.reactivex.rxjava2:rxjava:$rootProject.rxjava2Version"
implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion"
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
// dependency injection
implementation "com.google.dagger:dagger:$rootProject.dagger2Version"
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
provided 'javax.annotation:jsr250-api:1.0'
implementation 'javax.inject:javax.inject:1'
//multidex
implementation 'com.android.support:multidex:1.0.3'

//new start
// kapt 'com.google.dagger:dagger-android-processor:2.15'
// kapt 'com.google.dagger:dagger-compiler:2.15'
//new end

//animationasdasd
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
//DrawablePageIndicator
implementation 'com.augustopicciani.drawable_page_indicator:library:1.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

// AutoScrollView
implementation('cn.trinea.android.view.autoscrollviewpager:android-auto-scroll-view-pager:1.1.2') {
exclude module: 'support-v4'

}

//Cropper
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.7'
/*AWS*/
implementation 'com.amazonaws:aws-android-sdk-s3:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-core:2.6.+'

/*//glide
implementation 'com.github.bumptech.glide:glide:4.5.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'*/

//Country code
implementation 'com.hbb20:ccp:2.2.2'
// implementation 'com.hbb20:ccp:2.0.3'

//Underscore
implementation 'com.github.javadev:underscore:1.28'

//pdf opener
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'

//Crash
implementation 'com.google.firebase:firebase-crash:11.0.4'

/* // Check for v11.4.2 or higher
implementation 'com.google.firebase:firebase-core:15.0.0'*/

// Add dependency
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'

/*Custom Camera view*/
implementation project(':Cameralibrary')

/*App purchase */
implementation 'com.android.billingclient:billing:1.0'

/*OCR demo Gradle starts from here */

// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation "android.arch.lifecycle:extensions:${versions.lifecycle}"
implementation "android.arch.lifecycle:common-java8:${versions.lifecycle}"
implementation "com.getkeepsafe.relinker:relinker:${versions.relinker}"

implementation 'de.greenrobot:eventbus:2.4.0'
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leak_canary}"
debugImplementation "com.squareup.leakcanary:leakcanary-android:${versions.leak_canary}"
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation "com.commit451:PhotoView:${versions.photoview}"
// implementation 'com.viewpagerindicator:library:2.4.1@aar'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

//butterknife
implementation "com.jakewharton:butterknife:${versions.butterknife}"
// kapt "com.jakewharton:butterknife-compiler:${versions.butterknife}"
annotationProcessor "com.jakewharton:butterknife-compiler:${versions.butterknife}"
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'

//glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

implementation "com.android.support:design:${versions.design}"
implementation "com.android.support:design:${versions.appcompat_v7}"

//pdf shockwave
compile 'com.github.barteksc:pdfium-android:1.9.0'

//cat loader
implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.4'

//shimmer text
compile 'com.romainpiel.shimmer:library:1.4.0@aar'
/*End here */

// compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.2")

implementation 'com.google.firebase:firebase-ml-vision:18.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:16.2.3'
implementation 'com.android.support:exifinterface:28.0.0'









share|improve this question

























  • Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 16 '18 at 9:22













  • @cricket_007 thanks for your help any suggestion regarding my issue?

    – TechValens
    Nov 16 '18 at 9:33













  • Can you answer the question I asked?

    – cricket_007
    Nov 16 '18 at 9:41











  • @cricket_007 No this never happens with less dependencies.

    – TechValens
    Nov 16 '18 at 9:45











  • And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

    – cricket_007
    Nov 16 '18 at 9:47














0












0








0


1






With these dependencies present in build.gradle.



I am getting this error when i am trying to run the project




Process 'command '/Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with
non-zero exit value 1




    /*CamerAFragment*/
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
//compile "com.android.support:design:$rootProject.supportLibraryVersion"
//butterknife
// implementation 'com.jakewharton:butterknife:8.8.1'
//annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'
//google plus
implementation 'com.google.android.gms:play-services-auth:11.0.4'
/*Viper*/
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
// reactive
implementation "io.reactivex.rxjava2:rxjava:$rootProject.rxjava2Version"
implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion"
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
// dependency injection
implementation "com.google.dagger:dagger:$rootProject.dagger2Version"
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
provided 'javax.annotation:jsr250-api:1.0'
implementation 'javax.inject:javax.inject:1'
//multidex
implementation 'com.android.support:multidex:1.0.3'

//new start
// kapt 'com.google.dagger:dagger-android-processor:2.15'
// kapt 'com.google.dagger:dagger-compiler:2.15'
//new end

//animationasdasd
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
//DrawablePageIndicator
implementation 'com.augustopicciani.drawable_page_indicator:library:1.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

// AutoScrollView
implementation('cn.trinea.android.view.autoscrollviewpager:android-auto-scroll-view-pager:1.1.2') {
exclude module: 'support-v4'

}

//Cropper
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.7'
/*AWS*/
implementation 'com.amazonaws:aws-android-sdk-s3:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-core:2.6.+'

/*//glide
implementation 'com.github.bumptech.glide:glide:4.5.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'*/

//Country code
implementation 'com.hbb20:ccp:2.2.2'
// implementation 'com.hbb20:ccp:2.0.3'

//Underscore
implementation 'com.github.javadev:underscore:1.28'

//pdf opener
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'

//Crash
implementation 'com.google.firebase:firebase-crash:11.0.4'

/* // Check for v11.4.2 or higher
implementation 'com.google.firebase:firebase-core:15.0.0'*/

// Add dependency
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'

/*Custom Camera view*/
implementation project(':Cameralibrary')

/*App purchase */
implementation 'com.android.billingclient:billing:1.0'

/*OCR demo Gradle starts from here */

// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation "android.arch.lifecycle:extensions:${versions.lifecycle}"
implementation "android.arch.lifecycle:common-java8:${versions.lifecycle}"
implementation "com.getkeepsafe.relinker:relinker:${versions.relinker}"

implementation 'de.greenrobot:eventbus:2.4.0'
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leak_canary}"
debugImplementation "com.squareup.leakcanary:leakcanary-android:${versions.leak_canary}"
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation "com.commit451:PhotoView:${versions.photoview}"
// implementation 'com.viewpagerindicator:library:2.4.1@aar'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

//butterknife
implementation "com.jakewharton:butterknife:${versions.butterknife}"
// kapt "com.jakewharton:butterknife-compiler:${versions.butterknife}"
annotationProcessor "com.jakewharton:butterknife-compiler:${versions.butterknife}"
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'

//glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

implementation "com.android.support:design:${versions.design}"
implementation "com.android.support:design:${versions.appcompat_v7}"

//pdf shockwave
compile 'com.github.barteksc:pdfium-android:1.9.0'

//cat loader
implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.4'

//shimmer text
compile 'com.romainpiel.shimmer:library:1.4.0@aar'
/*End here */

// compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.2")

implementation 'com.google.firebase:firebase-ml-vision:18.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:16.2.3'
implementation 'com.android.support:exifinterface:28.0.0'









share|improve this question
















With these dependencies present in build.gradle.



I am getting this error when i am trying to run the project




Process 'command '/Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with
non-zero exit value 1




    /*CamerAFragment*/
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
implementation "com.android.support:cardview-v7:$rootProject.supportLibraryVersion"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
//compile "com.android.support:design:$rootProject.supportLibraryVersion"
//butterknife
// implementation 'com.jakewharton:butterknife:8.8.1'
//annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'
//google plus
implementation 'com.google.android.gms:play-services-auth:11.0.4'
/*Viper*/
androidTestAnnotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
// reactive
implementation "io.reactivex.rxjava2:rxjava:$rootProject.rxjava2Version"
implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxandroidVersion"
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
// dependency injection
implementation "com.google.dagger:dagger:$rootProject.dagger2Version"
annotationProcessor "com.google.dagger:dagger-compiler:$rootProject.dagger2Version"
provided 'javax.annotation:jsr250-api:1.0'
implementation 'javax.inject:javax.inject:1'
//multidex
implementation 'com.android.support:multidex:1.0.3'

//new start
// kapt 'com.google.dagger:dagger-android-processor:2.15'
// kapt 'com.google.dagger:dagger-compiler:2.15'
//new end

//animationasdasd
compile 'com.skyfishjy.ripplebackground:library:1.0.1'
//DrawablePageIndicator
implementation 'com.augustopicciani.drawable_page_indicator:library:1.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

// AutoScrollView
implementation('cn.trinea.android.view.autoscrollviewpager:android-auto-scroll-view-pager:1.1.2') {
exclude module: 'support-v4'

}

//Cropper
implementation 'com.theartofdev.edmodo:android-image-cropper:2.4.7'
/*AWS*/
implementation 'com.amazonaws:aws-android-sdk-s3:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-cognito:2.6.+'
implementation 'com.amazonaws:aws-android-sdk-core:2.6.+'

/*//glide
implementation 'com.github.bumptech.glide:glide:4.5.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.5.0'*/

//Country code
implementation 'com.hbb20:ccp:2.2.2'
// implementation 'com.hbb20:ccp:2.0.3'

//Underscore
implementation 'com.github.javadev:underscore:1.28'

//pdf opener
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'

//Crash
implementation 'com.google.firebase:firebase-crash:11.0.4'

/* // Check for v11.4.2 or higher
implementation 'com.google.firebase:firebase-core:15.0.0'*/

// Add dependency
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'

/*Custom Camera view*/
implementation project(':Cameralibrary')

/*App purchase */
implementation 'com.android.billingclient:billing:1.0'

/*OCR demo Gradle starts from here */

// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

implementation "android.arch.lifecycle:extensions:${versions.lifecycle}"
implementation "android.arch.lifecycle:common-java8:${versions.lifecycle}"
implementation "com.getkeepsafe.relinker:relinker:${versions.relinker}"

implementation 'de.greenrobot:eventbus:2.4.0'
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leak_canary}"
debugImplementation "com.squareup.leakcanary:leakcanary-android:${versions.leak_canary}"
implementation 'com.android.support:support-vector-drawable:27.1.1'
implementation "com.commit451:PhotoView:${versions.photoview}"
// implementation 'com.viewpagerindicator:library:2.4.1@aar'
implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'

//butterknife
implementation "com.jakewharton:butterknife:${versions.butterknife}"
// kapt "com.jakewharton:butterknife-compiler:${versions.butterknife}"
annotationProcessor "com.jakewharton:butterknife-compiler:${versions.butterknife}"
//circle indicator
implementation 'me.relex:circleindicator:1.2.2@aar'

//glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

implementation "com.android.support:design:${versions.design}"
implementation "com.android.support:design:${versions.appcompat_v7}"

//pdf shockwave
compile 'com.github.barteksc:pdfium-android:1.9.0'

//cat loader
implementation 'com.roger.catloadinglibrary:catloadinglibrary:1.0.4'

//shimmer text
compile 'com.romainpiel.shimmer:library:1.4.0@aar'
/*End here */

// compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.2")

implementation 'com.google.firebase:firebase-ml-vision:18.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2'
implementation 'com.google.firebase:firebase-ml-model-interpreter:16.2.3'
implementation 'com.android.support:exifinterface:28.0.0'






java android build.gradle






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 9:22









cricket_007

83.7k1147117




83.7k1147117










asked Nov 16 '18 at 9:18









TechValensTechValens

77215




77215













  • Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 16 '18 at 9:22













  • @cricket_007 thanks for your help any suggestion regarding my issue?

    – TechValens
    Nov 16 '18 at 9:33













  • Can you answer the question I asked?

    – cricket_007
    Nov 16 '18 at 9:41











  • @cricket_007 No this never happens with less dependencies.

    – TechValens
    Nov 16 '18 at 9:45











  • And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

    – cricket_007
    Nov 16 '18 at 9:47



















  • Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

    – cricket_007
    Nov 16 '18 at 9:22













  • @cricket_007 thanks for your help any suggestion regarding my issue?

    – TechValens
    Nov 16 '18 at 9:33













  • Can you answer the question I asked?

    – cricket_007
    Nov 16 '18 at 9:41











  • @cricket_007 No this never happens with less dependencies.

    – TechValens
    Nov 16 '18 at 9:45











  • And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

    – cricket_007
    Nov 16 '18 at 9:47

















Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

– cricket_007
Nov 16 '18 at 9:22







Did this ever work (when the project started with less dependencies)? Please try to create a Minimal, Complete, and Verifiable example

– cricket_007
Nov 16 '18 at 9:22















@cricket_007 thanks for your help any suggestion regarding my issue?

– TechValens
Nov 16 '18 at 9:33







@cricket_007 thanks for your help any suggestion regarding my issue?

– TechValens
Nov 16 '18 at 9:33















Can you answer the question I asked?

– cricket_007
Nov 16 '18 at 9:41





Can you answer the question I asked?

– cricket_007
Nov 16 '18 at 9:41













@cricket_007 No this never happens with less dependencies.

– TechValens
Nov 16 '18 at 9:45





@cricket_007 No this never happens with less dependencies.

– TechValens
Nov 16 '18 at 9:45













And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

– cricket_007
Nov 16 '18 at 9:47





And that is the only error you get? Can you enable the gradle stacktrace options? Or go to the terminal, and do ./gradlew build?

– cricket_007
Nov 16 '18 at 9:47












1 Answer
1






active

oldest

votes


















0














Your project includes too many dependencies, try remove them one by one and gradle sync until you find which one caused error.



Its a time consuming task, but should do if you can not ensure.



And you could try add this in build.gradle----android:



dexOptions {
javaMaxHeapSize "4g" //enlarge heap size value.
}





share|improve this answer
























  • I already tried this solution but it is not working.

    – TechValens
    Nov 16 '18 at 9:46













  • @TechValens so you really need removing some libraries , hope lucky.

    – navylover
    Nov 16 '18 at 9:47













  • Actually, my code was working properly with libraries, a few hours ago I am getting this error.

    – TechValens
    Nov 16 '18 at 9:49













  • @TechValens Invalidate cahe/restart android studio , or reboot machine.

    – navylover
    Nov 16 '18 at 9:50











  • I have already tried that.

    – TechValens
    Nov 16 '18 at 9:51












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%2f53334768%2fandroid-studio-jre-process-finished-with-non-zero-exit-value-1%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









0














Your project includes too many dependencies, try remove them one by one and gradle sync until you find which one caused error.



Its a time consuming task, but should do if you can not ensure.



And you could try add this in build.gradle----android:



dexOptions {
javaMaxHeapSize "4g" //enlarge heap size value.
}





share|improve this answer
























  • I already tried this solution but it is not working.

    – TechValens
    Nov 16 '18 at 9:46













  • @TechValens so you really need removing some libraries , hope lucky.

    – navylover
    Nov 16 '18 at 9:47













  • Actually, my code was working properly with libraries, a few hours ago I am getting this error.

    – TechValens
    Nov 16 '18 at 9:49













  • @TechValens Invalidate cahe/restart android studio , or reboot machine.

    – navylover
    Nov 16 '18 at 9:50











  • I have already tried that.

    – TechValens
    Nov 16 '18 at 9:51
















0














Your project includes too many dependencies, try remove them one by one and gradle sync until you find which one caused error.



Its a time consuming task, but should do if you can not ensure.



And you could try add this in build.gradle----android:



dexOptions {
javaMaxHeapSize "4g" //enlarge heap size value.
}





share|improve this answer
























  • I already tried this solution but it is not working.

    – TechValens
    Nov 16 '18 at 9:46













  • @TechValens so you really need removing some libraries , hope lucky.

    – navylover
    Nov 16 '18 at 9:47













  • Actually, my code was working properly with libraries, a few hours ago I am getting this error.

    – TechValens
    Nov 16 '18 at 9:49













  • @TechValens Invalidate cahe/restart android studio , or reboot machine.

    – navylover
    Nov 16 '18 at 9:50











  • I have already tried that.

    – TechValens
    Nov 16 '18 at 9:51














0












0








0







Your project includes too many dependencies, try remove them one by one and gradle sync until you find which one caused error.



Its a time consuming task, but should do if you can not ensure.



And you could try add this in build.gradle----android:



dexOptions {
javaMaxHeapSize "4g" //enlarge heap size value.
}





share|improve this answer













Your project includes too many dependencies, try remove them one by one and gradle sync until you find which one caused error.



Its a time consuming task, but should do if you can not ensure.



And you could try add this in build.gradle----android:



dexOptions {
javaMaxHeapSize "4g" //enlarge heap size value.
}






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 16 '18 at 9:44









navylovernavylover

3,66031221




3,66031221













  • I already tried this solution but it is not working.

    – TechValens
    Nov 16 '18 at 9:46













  • @TechValens so you really need removing some libraries , hope lucky.

    – navylover
    Nov 16 '18 at 9:47













  • Actually, my code was working properly with libraries, a few hours ago I am getting this error.

    – TechValens
    Nov 16 '18 at 9:49













  • @TechValens Invalidate cahe/restart android studio , or reboot machine.

    – navylover
    Nov 16 '18 at 9:50











  • I have already tried that.

    – TechValens
    Nov 16 '18 at 9:51



















  • I already tried this solution but it is not working.

    – TechValens
    Nov 16 '18 at 9:46













  • @TechValens so you really need removing some libraries , hope lucky.

    – navylover
    Nov 16 '18 at 9:47













  • Actually, my code was working properly with libraries, a few hours ago I am getting this error.

    – TechValens
    Nov 16 '18 at 9:49













  • @TechValens Invalidate cahe/restart android studio , or reboot machine.

    – navylover
    Nov 16 '18 at 9:50











  • I have already tried that.

    – TechValens
    Nov 16 '18 at 9:51

















I already tried this solution but it is not working.

– TechValens
Nov 16 '18 at 9:46







I already tried this solution but it is not working.

– TechValens
Nov 16 '18 at 9:46















@TechValens so you really need removing some libraries , hope lucky.

– navylover
Nov 16 '18 at 9:47







@TechValens so you really need removing some libraries , hope lucky.

– navylover
Nov 16 '18 at 9:47















Actually, my code was working properly with libraries, a few hours ago I am getting this error.

– TechValens
Nov 16 '18 at 9:49







Actually, my code was working properly with libraries, a few hours ago I am getting this error.

– TechValens
Nov 16 '18 at 9:49















@TechValens Invalidate cahe/restart android studio , or reboot machine.

– navylover
Nov 16 '18 at 9:50





@TechValens Invalidate cahe/restart android studio , or reboot machine.

– navylover
Nov 16 '18 at 9:50













I have already tried that.

– TechValens
Nov 16 '18 at 9:51





I have already tried that.

– TechValens
Nov 16 '18 at 9:51




















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%2f53334768%2fandroid-studio-jre-process-finished-with-non-zero-exit-value-1%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

Bressuire

Vorschmack

Quarantine