Giter Site home page Giter Site logo

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_51\bin\java.exe'' finished with non-zero exit value 1 about icepick HOT 9 CLOSED

frankiesardo avatar frankiesardo commented on June 25, 2024
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_51\bin\java.exe'' finished with non-zero exit value 1

from icepick.

Comments (9)

frankiesardo avatar frankiesardo commented on June 25, 2024

Look at #46

from icepick.

adityasharma1912 avatar adityasharma1912 commented on June 25, 2024

But this dependency is not processor dependency, hence i have to use "compile" keyword only.
I checked post #46 earlier also.

Thanks for your quick reply, seeking further help from you.

from icepick.

frankiesardo avatar frankiesardo commented on June 25, 2024

What do you mean by "this dependency is not processor dependency"? If you need further help please provide more info about your setup, version used, build.gradle file and what you're trying to accomplish. A stacktrace alone doesn't provide enough context.

from icepick.

adityasharma1912 avatar adityasharma1912 commented on June 25, 2024

My build.gradle is as follows :

buildscript {
repositories {
mavenCentral()
}

dependencies {
    classpath 'com.android.tools.build:gradle:1.3.0'
}

}
apply plugin: 'android'

repositories {
jcenter() // This is the default repo
mavenCentral() // This is the Maven Central repo

}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:recyclerview-v7:21.0.+'
compile 'com.android.support:cardview-v7:21.0.+'
compile project(':android-support-v7-appcompat')
compile 'com.facebook.android:facebook-android-sdk:4.1.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
compile 'com.google.android.gms:play-services-ads:7.5.0'
compile 'com.google.android.gms:play-services-analytics:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'
compile 'com.google.android.gms:play-services-appindexing:7.5.0'
compile files('libs/google-http-client-1.18.0-rc.jar')
compile files('libs/google-http-client-android-1.18.0-rc.jar')
compile project(':robodemolib')
compile 'com.facebook.fresco:fresco:0.6.1+'
}

android {
compileSdkVersion 21
buildToolsVersion '22.0.1'

dexOptions {
    preDexLibraries = false
    javaMaxHeapSize "4g"
}
compileOptions {
    encoding "UTF-8"
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
}

lintOptions {
    abortOnError false
}
sourceSets {
    main {
        manifest.srcFile 'AndroidManifest.xml'
        java.srcDirs = ['src']
        resources.srcDirs = ['src']
        aidl.srcDirs = ['src']
        renderscript.srcDirs = ['src']
        res.srcDirs = ['res']
        assets.srcDirs = ['assets']
    }

    // Move the tests to tests/java,
    // tests/res, etc...
    instrumentTest.setRoot('tests')

    // Move the build types to build-types/<type>
    // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
    // This moves them out of them default location under src/<type>/... which would
    // conflict with src/ being used by the main source set.
    // Adding new build types or product flavors should be accompanied
    // by a similar customization.

}

}


i am trying to use facebook's fresco library to fetch and show images in my application using follwing code :

<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/imageview_car"
android:layout_width="130dp"
android:layout_height="130dp"
fresco:placeholderImage="@drawable/abc_ab_bottom_solid_dark_holo"
fresco:roundedCornerRadius="2dp"/>

from icepick.

frankiesardo avatar frankiesardo commented on June 25, 2024

I don't see icepick in your project dependencies, nor clojars in your repositories. Please follow the readme for installation

from icepick.

adityasharma1912 avatar adityasharma1912 commented on June 25, 2024

adding this lib only in build.gradle is giving this problem :
compile 'com.facebook.fresco:fresco:0.6.1+'

readme for installation means??
I do not have any readme for this library installation...

from icepick.

adityasharma1912 avatar adityasharma1912 commented on June 25, 2024

my project has nothing to do with icepick, sorry.

from icepick.

saurabhlahoti93 avatar saurabhlahoti93 commented on June 25, 2024

*Getting this error on making build by applying Proguard *

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

from icepick.

splm avatar splm commented on June 25, 2024

Remember to modify this part.
android {
compileSdkVersion 21
buildToolsVersion '23.0.0'

from icepick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.