Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #58

Closed
akrupych-remit opened this issue Nov 28, 2016 · 3 comments
Closed

Build error #58

akrupych-remit opened this issue Nov 28, 2016 · 3 comments

Comments

@akrupych-remit
Copy link

I'm getting error trying to build my project with header-decor dependency:

  • Information:Gradle tasks [:app:assembleDebug]
  • Error:Error converting bytecode to dex:
    Cause: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
    Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
  • com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

Here's my dependencies from app-level build.gradle:

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'ca.barrenechea.header-decor:header-decor:0.2.8'
}

@ShubhamPaji
Copy link

Finished with error: Gradle task assembleDebug failed with exit code -1
I'm getting this error

@heathenthrone48
Copy link

Exception: Gradle task assembleDebug failed with exit code -1

im getting this error , cannot find any resources in the internet. really weird

@ravikant16
Copy link

Launching lib\main.dart on A37f in debug mode...
Running Gradle task 'assembleDebug'...
Exception: Gradle task assembleDebug failed with exit code -1
what is the solution

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

No branches or pull requests

5 participants