in Education by
Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_40\bin\java.exe'' finished with non-zero exit value 2 I searched all the similar questions and solutions, but they do not help. I hope experts like you come up. The project code has been uploaded into bitbucket: https://[email protected]/tainule/numad-huizhang.git I have two modules, app and endpoint. Below is from Module:app: apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "edu.neu.madcourse.huizhang1" minSdkVersion 14 targetSdkVersion 21 versionCode 3 versionName "2.1" // multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile "com.android.support:appcompat-v7:21.0.+" compile 'com.google.android.gms:play-services:+' compile 'com.google.guava:guava:18.0' compile 'com.google.code.gson:gson:1.7.2' compile 'org.apache.httpcomponents:httpmime:4.4-beta1' compile 'org.apache.httpcomponents:httpclient:4.4-beta1' compile 'org.apache.httpcomponents:httpcore:4.4-beta1' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3' compile project(path: ':endpoint', configuration: 'android-endpoints') compile files('src/main/res/libs/KeyValueAPI.jar') } Below is from Module endpoint: buildscript { repositories { mavenLocal() mavenCentral() } dependencies { classpath 'com.google.appengine:gradle-appengine-plugin:1.9.17' } } repositories { mavenCentral(); } apply plugin: 'java' apply plugin: 'war' apply plugin: 'appengine' sourceCompatibility = 1.7 targetCompatibility = 1.7 dependencies { appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.8' compile 'com.google.appengine:appengine-endpoints:1.9.8' compile 'com.google.appengine:appengine-endpoints-deps:1.9.8' compile 'javax.servlet:servlet-api:2.5' compile 'com.googlecode.objectify:objectify:4.0b3' compile 'com.ganyo:gcm-server:1.0.2' // compile 'com.github.fengdai:alertdialogpro-theme-material:0.1.0' } appengine { downloadSdk = true appcfg { oauth2 = true } endpoints { getClientLibsOnBuild = true getDiscoveryDocsOnBuild = true } } JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
It seems you have a jar file or a lib appearing multiple times. So, remove the .jar file from the lib folder then: Build > Rebuild

Related questions

0 votes
    I get an java.lang.OutOfMemoryError: GC overhead limit exceeded when run gradle on Android 1.4 ... ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 11, 2022 in Education by JackTerrance
0 votes
    I have few questions about handling large bitmaps, I couldn't find answer on the topics I found where ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 17, 2022 in Education by JackTerrance
0 votes
    I want parse one line from html site, but my code not working MainActivity: @Override protected void ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I have a drawer menu, which allows users to enter filter details, which will update a recycler view list ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I am just getting started towards android and i am having trouble with my hello world app, The problem ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    Explain the common execution states for a swift iOS App (iOS Application Lifecycle)....
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    I am experimenting Barba.js for page transitions. When I try to run this code I get a "Blocked ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
0 votes
    I have a project that was build in Xcode9. Now I am updating it to Xcode10. I am using ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 17, 2022 in Education by JackTerrance
0 votes
    my AndroidManifest.xml looks like this: and I get this error: * What went wrong: Execution failed for ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    What about the Stack segment in .COM program during execution: Must be defined explicitly in the program DOS uses the ... stack for .COM program during execution none of the above...
asked May 1, 2021 in Education by JackTerrance
0 votes
    after installing composer I tried to install larvel but it gives ErrorException .please help.... data from ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 30, 2022 in Education by JackTerrance
0 votes
    after installing composer I tried to install larvel but it gives ErrorException .please help.... data from ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 23, 2022 in Education by JackTerrance
0 votes
    I get "Login failed error" with the Facebook Android SDK while running on the device. I have done ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 21, 2022 in Education by JackTerrance
0 votes
    I am using Visual Studio 2017 Community Edition (CE), and I have signed into my Microsoft account and I am ... to resolve this issue. Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I'm new to Python and I want to install some packages with pip. But pip install unroll gives me: Command " ... How to solve this? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
...