Получение этой ошибки при создании подписанного apk в андроид студии - PullRequest
0 голосов
/ 11 октября 2018

У меня ниже сообщение об ошибке

org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Выполнение не выполнено для задачи ': app: lintVitalRelease'.по адресу org.gradle.initialization.DefaultGradleLauncher.doBuildStages (DefaultGradleLauncher.java:139) по адресу org.gradle.initialization.DefaultGradleLauncher.executeTasks (DefaultGradleLauncher.java:109) в org.dleontBalk.GuderlerClang.Java: 78) в org.gradle.internal.invocation.GradleBuildController $ 1.call (GradleBuildController.java:75) в org.gradle.internal.work.DefaultWorkerLeaseService.withLocks (DefaultWorkerLeaseService.jternalg5).invocation.GradleBuildController.doBuild (GradleBuildController.java:100) по адресу org.gradle.internal.invocation.GradleBuildController.run (GradleBuildController.java:75) по адресу org.gradle.tooling.internalr.Java: 53) в org.gradle.launcher.exec.ChainingBuildActionRunner.run (ChainingBuildActionRunner.java:35) в org.gradle.launcher.exec.ChainingBuildActionRunner.run (ChainingBuildActionRunner.java:35) в org.gra.provider.ValidatingBuildActionRunner.run (ValidatingBuildActionRunner.java:32) в org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner $ 1.run (RunAsBuildOperationBuildActionRunner.java:43) RunExOuоном.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:110) в org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run (RunAsBuildOperationBuildActionRunner.java:40) в org.gradle.toj.jj.unun.RunSignableRuв org.gradle.launcher.exec.InProcessBuildActionExecuter.execute (InProcessBuildActionExecuter.java:47) в org.gradle.launcher.exec.InProcessBuildActionExecuter.execute (InProcessBuildActionExecuter.java:30) в org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute (BuildTreeScopeBuildala.gra.gra )39) at.exec.BuildTreeScopeBuildActionExecuter.execute (BuildTreeScopeBuildActionExecuter.java:25) при org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute (ContinuousBuildActionExecuter.java:80) в org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute (ContinuousBuildActionExecuter.java: 53) at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute (ServicesSetupBuildActionExecuter.java:57) в org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuuSet.upup.upup.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute (GradleThreadBuildActionExecuter.java:36) в org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute (GradleThreadBuildActionExecuter.java:25) при org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute (ParallelismConfigurationBuildActionExecuter.java:43) в org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute (ParallelismConfigurationBuildActionExecuter.java:29) в org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute (StartParamsValidatingActionExecuter.java:69) вorg.gradle.provider.SessionFailureReportingActionExecuter.execute (SessionFailureReportingActionExecuter.java:44) в org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute (SetupLoggingActionExecuter.java:ogExAnt.Exter.Exter.ItUp.Java: 30) в org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild (ExecuteBuild.java:67) в org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute (BuildCommandOnly.java:36)в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute (WatchForDisconnection.java:37)в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute (ResetDeprecationLogger.java:26:26).launcher.daemon..server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.ForwardClientInput $ 2.call (ForwardClientInput.java:74) в org.gradle.launcher.daemon.serexec.ForwardClientInput $ 2.call (ForwardClientInput.java:72) в org.gradle.util.Swapper.swap (Swapper.java:38) в org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute (ForwardClientInput.java: 72) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute (LogAndCheckHealth.java:55) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.server.exec.LogToClient.doBuild (LogToClient.java:62) в org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute (BuildCommandOnly.java:36) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.BuildCommandOnly.java:36) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWyrBus: 50) в org.gradle.launcher.daemon.server.DaemonStateCoordinator $ 1.run (DaemonStateCoordinator.java:295) в org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute (ExecutorPolicy.java:63) в org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run (ManagedExecutorImpl.java:46) в java.utilThis.Exol: 1142) в java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:617) в org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run (ThreadFactoryImpl.java:lan.run (Thread.java:745) Причина: org.gradle.internal.exceptions.LocationAwareException: сбой при выполнении задачи ': app: lintVitalRelease'.в org.gradle.initialization.DefaultExceptionAnalyser.transform (DefaultExceptionAnalyser.java:74) вorg.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.по адресу org.gradle.initialization.DefaultGradleLauncher.executeTasks (DefaultGradleLauncher.java:109) по адресу org.gradle.internal.invocation.GradleBuildController $ 1.call (GradleBuildController.java:78) по адресу org.dlera(GradleBuildController.java:75) в org.gradle.internal.work.DefaultWorkerLeaseService.withLocks (DefaultWorkerLeaseService.java:152) в org.gradle.internal.invocation.GradleBuildController.doBuildController.doBuildg.internal.invocation.GradleBuildController.run (GradleBuildController.java:75) в org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run (BuildModelA)ctionRunner.java:53) в org.gradle.launcher.exec.ChainingBuildActionRunner.run (ChainingBuildActionRunner.java:35) в org.gradle.launcher.exec.ChainingBuildActionRunner.run (ChainingBuildActionRunner.jolg): 35.internal.provider.ValidatingBuildActionRunner.run (ValidatingBuildActionRunner.java:32) в org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner $ 1.run (RunAsBuildOperationBuildActionRunner.jternalableUgnDefaultBuildOperationExecutor.java:336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor.java:328) в org.gradle.internal.progress.DefaultBuildOperationExg.jpg.graj.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:110) в org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run (RunAsBuildOperationBuildActionRunner.java:40) в org.gradle.tooling.internal.provider.SubscribeableBuildActionRunner.run (SubscribeableBuildActionRunner.java:51) в org.gradle.launcher.exec.InProcess.uildActionExduleExgrag.launcher.exec.InProcessBuildActionExecuter.execute (InProcessBuildActionExecuter.java:30) по адресу org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute (BuildTreeScopeBuildActionExecuter.java:39: 25) в org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute (ContinuousBuildActionExecuter.java:80) в org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute (ContinuousBuildjgra.Exg.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute (ServicesSetupBuildActionExecuter.java:57) в org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute (ServicesSetupBuildActionExecuter.java:32) по адресу org.gradle.tooling.internal.provider.GradleThreadBuildActionExec25) atg.internal.provider.StartParamsValidatingActionExecuter.execute (StartParamsValidatingActionExecuter.java:69) вorg.gradle.provider.SessionFailureReportingActionExecuter.execute (SessionFailureReportingActionExecuter.java:44) в org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute (SetupLoggingActionExecuter.java:ogExAnt.Exter.Exter.ItUp.Java: 30) в org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild (ExecuteBuild.java:67) в org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute (BuildCommandOnly.java:36)в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute (WatchForDisconnection.java:37)в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute (ResetDeprecationLogger.java:26:26).launcher.daemon..server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.ForwardClientInput $ 2.call (ForwardClientInput.java:74) в org.gradle.launcher.daemon.serexec.ForwardClientInput $ 2.call (ForwardClientInput.java:72) в org.gradle.util.Swapper.swap (Swapper.java:38) в org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute (ForwardClientInput.java: 72) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute (LogAndCheckHealth.java:55) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.server.exec.LogToClient.doBuild (LogToClient.java:62) в org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute (BuildCommandOnly.java:36) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) по адресу org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild (EstablishBuildEnvironment.java:82) по адресу org.gradle.launcher.daenu.exe)BuildCommandOnly.java:36) в org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed (DaemonCommandExecution.java:122) в org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWyrBus: 50) в org.gradle.launcher.daemon.server.DaemonStateCoordinator $ 1.run (DaemonStateCoordinator.java:295) в org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute (ExecutorPolicy.java:63) в org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run (ManagedExecutorImpl.java:46) в org.gradleurth.conf(ThreadFactoryImpl.java:55) Причина: org.gradle.api.tasks.TaskExecutionException: сбой при выполнении задачи ': app: lintVitalRelease'.в org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions (ExecuteActionsTaskExecuter.java:100) в org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute (at )AgText).api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute (OutputDirectoryCreatingTaskExecuter.java:51) вorg.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute (SkipUpToDateTaskExecuter.api.internal.tasks.execution.ValidatingTaskExecuter.execute (ValidatingTaskExecuter.java:60) в org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute (SkipEmptySternalExgra.gra.jpg) org.ЗадачиSkipTaskWithNoActionsExecuter.execute (SkipTaskWithNoActionsExecuter.java:52) в org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute (SkipOnlyIfTaskExecuter.ut.gra.ing.54)eAtMostOnceTaskExecuter.execute (ExecuteAtMostOnceTaskExecuter.java:43) в org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute (CatchExceptionTaskExecuter.java:34).java: 248) at org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor.java:336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuilduperationOj.gradle.internal.progress.DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor.java:199) по адресу org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:110) в org.gradle.execuraphExkDefaultTaskGraphExecuter.java:241) в org.gradle.execution.taskgraph.DefaultTaskGraphExecuter $ EventFiringTaskWorker.exec.: 79) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ TaskExecutorWorker $ 1.execute (DefaultTaskPlanExecutor.java:104) в org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ TaskExecutorWorker $ exec.jpg) .Exg.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute (DefaultTaskExecutionPlan.java:626) по адресу org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask (DefaultTaskExecutionPlan.java.ExecTackSlayer.Group)DefaultTaskPlanExecutor.java:98) ... еще 3 Причины: org.gradle.api.GradleException: Lint обнаружил фатальные ошибки при сборке цели выпуска.

Для продолженияed, либо исправьте проблемы, указанные в lint, либо измените скрипт сборки следующим образом:

    ...
    android {
        lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }
    ...

Сообщение об ошибке становится равным

на com.android.tools.lint.gradle.LintGradleExecution.abort (LintGradleExecution.java:199) по адресу com.android.tools.lint.gradle.LintGradleExecution.runLint (LintGradleExecution.java:263) по адресу com.android.tools.lint.gradle.LintGradleExdletionExint: 359) на com.android.tools.lint.gradle.LintGradleExecution.analyze (LintGradleExecution.java:93) на com.android.tools.lint.gradle.api.ReflectiveLintRunner.runLint (ReflectiveLintRunner.kt: 38) на ком.android.build.gradle.tasks.LintBaseTask.runLint (LintBaseTask.java:87) в com.android.build.gradle.tasks.LintPerVariantTask.lint (LintPerVariantTask.java:41)в org.gradle.internal.reflect.JavaMethod.invoke (JavaMethod.java:73) в org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute (StandardTaskAction.java:46) в org.gradle.apiin.project.taskfactory.StandardTaskAction.execute (StandardTaskAction.java:39) в org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute (StandardTaskAction.java:26) в org.gradle.apb.A.execute (AbstractTask.java:780) в org.gradle.api.internal.AbstractTask $ TaskActionWrapper.execute (AbstractTask.java:747) в org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter $ 1.Runas Execute $ 1.Java: 121) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute (DefaultBuildOperationExecutor.java:336) в org.gradle.internal.progress.DefaultBuildOperationExecutor $ RunnableBuildOperationjgraj.graj.internal.progress.DefaultBuildOperationExecutor.execute (DefaultBuildOperationExecutor.java:199) по адресу org.gradle.internal.progress.DefaultBuildOperationExecutor.run (DefaultBuildOperationExecutor.java:110) по адресу org.gradle.api.internal.tasks.execution.ExecuteActionskExtext110) в org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions (ExecuteActionsTaskExecuter.java:92) ... еще 29

...