Android Studio / Gradle: proguardRelease FAILED


Matthew Damp
30/12/2014 2:10 pm
HOME ยป Web Development

Using Android Studio, I am getting a proguardRelease FAILED error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':appName:proguardAppNameRelease'.
> 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info
or --debug option to  
get more log output.

BUILD FAILED

doing stacktrace from the command line:

./gradlew assembleRelease -d --stacktrace

this is what I get:

20:45:07.245 [ERROR] [org.gradle.BuildExceptionReporter]
FAILURE: Build failed with an exception.
20:45:07.246 [ERROR] [org.gradle.BuildExceptionReporter]
20:45:07.246 [ERROR] [org.gradle.BuildExceptionReporter] * What went
wrong:
20:45:07.246 [ERROR] [org.gradle.BuildExceptionReporter] Execution
failed for task
':OrariTrenitaliaApps:proguardOrariTrenitaliaFreeRelease'.
20:45:07.246 [ERROR] [org.gradle.BuildExceptionReporter] > 1
20:45:07.246 [ERROR] [org.gradle.BuildExceptionReporter]
20:45:07.247 [ERROR] [org.gradle.BuildExceptionReporter] * Exception
is:
20:45:07.247 [ERROR] [org.gradle.BuildExceptionReporter]
org.gradle.api.tasks.TaskExecutionException: Execution failed for task
 ':OrariTrenitaliaApps:proguardOrariTrenitaliaFreeRelease'.
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
20:45:07.248 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
20:45:07.249 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
20:45:07.249 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
20:45:07.249 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
20:45:07.249 [ERROR] [org.gradle.BuildExceptionReporter]    at
org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
.....
20:45:07.256 [ERROR] [org.gradle.BuildExceptionReporter] Caused by:
java.lang.ArrayIndexOutOfBoundsException: 1
20:45:07.256 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.classfile.editor.InterfaceDeleter.visitSignatureAttribute(InterfaceDeleter.java:162)
20:45:07.256 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.classfile.attribute.SignatureAttribute.accept(SignatureAttribute.java:97)
20:45:07.257 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.classfile.ProgramClass.attributesAccept(ProgramClass.java:547)
20:45:07.257 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.classfile.editor.InterfaceDeleter.visitProgramClass(InterfaceDeleter.java:92)
20:45:07.257 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.shrink.ClassShrinker.visitProgramClass(ClassShrinker.java:78)
20:45:07.258 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.classfile.visitor.MultiClassVisitor.visitProgramClass(MultiClassVisitor.java:85)
20:45:07.258 [ERROR] [org.gradle.BuildExceptionReporter]    at
proguard.shrink.UsedClassFilter.visitProgramClass(UsedClassFilter.java:62)

How can I fix it?


Related to : Android Studio / Gradle: proguardRelease FAILED
Android Studio / Gradle: proguardRelease FAILED
30/12/2014 2:10 pm by Matthew Damp in Web Development

Using Android Studio, I am getting a proguardRelease FAILED error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':appName:proguardAppNameRelease'.
> 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info
or --deb
Android Studio gives me Execution failed for task ':library:proguardRelease' error after updating to Android Studio 1.0.1
22/12/2014 10:30 am by Ir0nh1de in Web Development

I updated my Android Studio to 1.0.1. I followed this tutorial http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0 and changed from runProguard to minifyEnabl


Android Studio proguardRelease FAILED due empty output jar library
18/12/2014 7:40 pm by asp.net in Web Development

I have imported a project from Eclipse into Android Studio that consists in an Android Library Project (RuletaAfortunadaCore) and an Android Project (RuletaAfortunada), also have some third parties library dependencies. During the import everything seemed fine, but now when I try to build it I ge


Android Studio Gradle failed to complete Gradle execution
30/12/2014 5:20 am by Kumar Anand in Web Development

I am trying to run appengineUpdate to deploy my backend and am receiving the following error message:

Failed to complete Gradle execution.

Cause:
Gradle build daemon disappeared unexpectedly (it may have been
stopped, killed or may have crashed)

Gradle console h


Failed to refresh Gradle project using Android Studio 0.4.0 and Gradle 1.9
by Mariocki in Web Development

I've just updated Android Studio to version 0.4.0 and followed steps according to release notes here: http://tools.android.com/recent/androidstudio040releasedAfter updating Gradle 1.8 to Gradle 1.9 I still get this error:My graddle/wrapper/gradle-wrapper.properties looks like this:#Thu Dec 19 14:03:
Importing Android Projects into Android Studio - Gradle Project Sync Failed
19/11/2014 6:20 am by surfsatwerk in Web Development

I, like many others, am having the problem where when I import a project from eclipse into Android Studio, it will not work. I am consistently getting this error:

enter image
description here

At the bottom of the screen, th

Android Studio 0.8.2 - Gradle project sync failed
6/1/2015 8:40 am by Raghu in Web Development

In hindsight I should not have enabled L build stuff.

I am new to programming and I created a new Android Studio project which is throwing the Gradle errror right away.

Errors are:

yellow bar at the top - Gradle project sync failed. Basic functionality (e.g. editing, debug


Android Studio Gradle project sync failed
11/12/2014 10:20 am by TheStu in Web Development

I'm getting error: "Gradle project sync failed. Basic functionality (e.g. eiditing) will not work properly."

And Error Log:

Error:Unable to start the daemon process. 
This problem might be caused by incorrect configuration of the daemon.

For example, an unrecognized jvm o
Android Studio Keep saying Failed to complete Gradle execution
8/1/2015 2:30 pm by yaplik in Web Development

Everything fine with the command line

gradle build

But Android Studio keep saying that

Failed to complete Gradle execution
Cause:
A fatal exeption has occurred. Program will exit

If I clear all the cache, and restart everything w


Android Studio 1.0 Gradle project sync failed
11/12/2014 7:50 pm by CRaul87 in Web Development

I've just downloaded and installed Android Studio 1.0; having previously removed the beta version and deleted all Android Studio and gradle-related folders from my user folder.

I have created a new project using the wizard, but am getting "Gradle project sync failed".

I




HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .