I am getting this fault in my mac volume, tried many references but didn't work for me

                * Exception is: com.intellij.openapi.externalSystem.model.ExternalSystemException: Invalid file found (empty apk data). Endeavour to remove /Users/yernarmyntayev/Downloads/UpStore/app/build/outputs/apk/debug/output.json or clean your build directory. If the error persists, report this issue via Help > Submit Feedback.     at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.coffee:252)     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:127)     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.coffee:48)     at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:77)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.runAction(ClientProvidedPhasedActionRunner.coffee:120)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.run(ClientProvidedPhasedActionRunner.coffee:110)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.buildFinished(ClientProvidedPhasedActionRunner.java:104)     at org.gradle.internal.dispatch.ReflectionDispatch.acceleration(ReflectionDispatch.java:36)     at org.gradle.internal.acceleration.ReflectionDispatch.dispatch(ReflectionDispatch.coffee:24)     at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:382)     at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.acceleration(DefaultListenerManager.java:364)     at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)     at org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:352)     at org.gradle.internal.outcome.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:339)     at org.gradle.internal.result.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42)     at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:231)     at org.gradle.internal.upshot.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:150)     at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)     at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:325)     at org.gradle.internal.consequence.BroadcastDispatch$CompositeDispatch.acceleration(BroadcastDispatch.java:235)     at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.coffee:141)     at org.gradle.internal.event.ListenerBroadcast.acceleration(ListenerBroadcast.java:37)     at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)     at com.sun.proxy.$Proxy15.buildFinished(Unknown Source)     at org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.coffee:174)     at org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.java:117)     at org.gradle.internal.invocation.GradleBuildController$three.create(GradleBuildController.coffee:86)     at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:78)     at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:189)     at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)     at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:78)     at org.gradle.internal.invocation.GradleBuildController.configure(GradleBuildController.java:67)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:62)     at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.coffee:35)     at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.coffee:35)     at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)     at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)     at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.coffee:39)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.coffee:51)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$iii.call(RunAsBuildOperationBuildActionRunner.java:45)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$one.execute(DefaultBuildOperationExecutor.java:165)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.coffee:250)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.phone call(DefaultBuildOperationExecutor.coffee:102)     at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.coffee:45)     at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50)     at org.gradle.launcher.exec.InProcessBuildActionExecuter$one.transform(InProcessBuildActionExecuter.java:47)     at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.coffee:80)     at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.coffee:47)     at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)     at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)     at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)     at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)     at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)     at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:60)     at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.coffee:38)     at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)     at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)     at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.coffee:37)     at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)     at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)     at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)     at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)     at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)     at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)     at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)     at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.coffee:48)     at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)     at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.keep(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.go on(DaemonCommandExecution.coffee:104)     at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:27)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.go along(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)     at org.gradle.util.Swapper.bandy(Swapper.java:38)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.coffee:104)     at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.coffee:104)     at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.go along(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.go on(DaemonCommandExecution.coffee:104)     at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.coffee:52)     at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)     at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)     at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)     at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) java.lang.IllegalStateException: Invalid file found (empty apk data). Attempt to remove /Users/yernarmyntayev/Downloads/UpStore/app/build/outputs/apk/debug/output.json or clean your build directory. If the error persists, report this event via Help > Submit Feedback.     at com.android.build.gradle.internal.ide.EarlySyncBuildOutput$Companion.load(EarlySyncBuildOutput.kt:101)     at com.android.build.gradle.internal.ide.EarlySyncBuildOutput$Companion.load(EarlySyncBuildOutput.kt:77)     at com.android.build.gradle.internal.ide.EarlySyncBuildOutput.load(EarlySyncBuildOutput.kt)     at com.android.build.gradle.internal.ide.BuildOutputsSupplier.lambda$become$2(BuildOutputsSupplier.java:54)     at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:405)     at com.android.build.gradle.internal.ide.BuildOutputsSupplier.go(BuildOutputsSupplier.coffee:48)     at com.android.build.gradle.internal.ide.BuildOutputsSupplier.get(BuildOutputsSupplier.java:33)     at com.android.build.gradle.internal.ide.AndroidArtifactImpl.computeBuildOutputs(AndroidArtifactImpl.java:162)     at com.android.build.gradle.internal.ide.AndroidArtifactImpl.<init>(AndroidArtifactImpl.java:137)     at com.android.build.gradle.internal.ide.ModelBuilder.createAndroidArtifact(ModelBuilder.java:960)     at com.android.build.gradle.internal.ide.ModelBuilder.createVariant(ModelBuilder.coffee:584)     at com.android.build.gradle.internal.ide.ModelBuilder.buildVariant(ModelBuilder.java:539)     at com.android.build.gradle.internal.ide.ModelBuilder.buildAll(ModelBuilder.java:220)     at com.android.build.gradle.internal.ide.ModelBuilder.buildAll(ModelBuilder.java:137)     at org.gradle.tooling.provider.model.internal.DefaultToolingModelBuilderRegistry$ParameterizedBuildOperationWrappingToolingModelBuilder$1$1.create(DefaultToolingModelBuilderRegistry.java:140)     at org.gradle.api.internal.projection.DefaultProjectStateRegistry.withLenientState(DefaultProjectStateRegistry.java:134)     at org.gradle.tooling.provider.model.internal.DefaultToolingModelBuilderRegistry$ParameterizedBuildOperationWrappingToolingModelBuilder$1.telephone call(DefaultToolingModelBuilderRegistry.java:136)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.coffee:416)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.coffee:165)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.coffee:250)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)     at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)     at org.gradle.tooling.provider.model.internal.DefaultToolingModelBuilderRegistry$ParameterizedBuildOperationWrappingToolingModelBuilder.buildAll(DefaultToolingModelBuilderRegistry.java:133)     at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getParameterizedModel(DefaultBuildController.java:102)     at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getModel(DefaultBuildController.coffee:84)     at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter$2.getModel(InternalBuildActionAdapter.java:74)     at org.gradle.tooling.internal.consumer.connectedness.BuildControllerAdapter.getModel(BuildControllerAdapter.java:62)     at org.gradle.tooling.internal.consumer.connexion.AbstractBuildController.findModel(AbstractBuildController.coffee:57)     at org.jetbrains.plugins.gradle.model.ProjectImportAction$MyBuildController.findModel(ProjectImportAction.java:476)     at com.android.tools.idea.gradle.project.sync.idea.svs.SelectedVariantChooserKt.syncAndAddVariant(SelectedVariantChooser.kt:167)     at com.android.tools.idea.gradle.projection.sync.idea.svs.SelectedVariantChooserKt.selectVariantForAppOrLeaf(SelectedVariantChooser.kt:122)     at com.android.tools.idea.gradle.project.sync.idea.svs.SelectedVariantChooserKt.chooseSelectedVariants(SelectedVariantChooser.kt:85)     at com.android.tools.idea.gradle.projection.sync.idea.svs.AndroidExtraModelProvider.populateAndroidModels(AndroidExtraModelProvider.kt:89)     at com.android.tools.idea.gradle.projection.sync.thought.svs.AndroidExtraModelProvider.populateBuildModels(AndroidExtraModelProvider.kt:39)     at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.coffee:240)     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:127)     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:48)     at org.gradle.tooling.internal.consumer.connectedness.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:77)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.runAction(ClientProvidedPhasedActionRunner.coffee:120)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.run(ClientProvidedPhasedActionRunner.java:110)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.buildFinished(ClientProvidedPhasedActionRunner.java:104)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at dominicus.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at coffee.lang.reverberate.Method.invoke(Method.coffee:498)     at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.coffee:36)     at org.gradle.internal.dispatch.ReflectionDispatch.acceleration(ReflectionDispatch.coffee:24)     at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:382)     at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:364)     at org.gradle.internal.upshot.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)     at org.gradle.internal.effect.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:352)     at org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:339)     at org.gradle.internal.event.AbstractBroadcastDispatch.acceleration(AbstractBroadcastDispatch.java:42)     at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:231)     at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.acceleration(BroadcastDispatch.java:150)     at org.gradle.internal.outcome.AbstractBroadcastDispatch.acceleration(AbstractBroadcastDispatch.java:58)     at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.acceleration(BroadcastDispatch.java:325)     at org.gradle.internal.outcome.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.coffee:235)     at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:141)     at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)     at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)     at com.lord's day.proxy.$Proxy15.buildFinished(Unknown Source)     at org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.coffee:174)     at org.gradle.initialization.DefaultGradleLauncher.finishBuild(DefaultGradleLauncher.java:117)     at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:86)     at org.gradle.internal.invocation.GradleBuildController$iii.create(GradleBuildController.coffee:78)     at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:189)     at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)     at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:78)     at org.gradle.internal.invocation.GradleBuildController.configure(GradleBuildController.java:67)     at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.coffee:62)     at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)     at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)     at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)     at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.coffee:32)     at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.coffee:39)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$iii.call(RunAsBuildOperationBuildActionRunner.java:51)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.phone call(RunAsBuildOperationBuildActionRunner.java:45)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)     at org.gradle.internal.operations.DefaultBuildOperationExecutor$one.execute(DefaultBuildOperationExecutor.java:165)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)     at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)     at org.gradle.internal.operations.DelegatingBuildOperationExecutor.telephone call(DelegatingBuildOperationExecutor.java:36)     at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)     at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50)     at org.gradle.launcher.exec.InProcessBuildActionExecuter$ane.transform(InProcessBuildActionExecuter.java:47)     at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:80)     at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:47)     at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)     at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)     at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)     at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)     at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)     at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:sixty)     at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:38)     at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)     at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)     at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)     at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)     at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)     at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)     at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:lx)     at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.coffee:32)     at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)     at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)     at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)     at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)     at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.coffee:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.keep(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.coffee:39)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:27)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput$two.create(ForwardClientInput.java:78)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.coffee:75)     at org.gradle.util.Swapper.swap(Swapper.java:38)     at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.go on(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.keep(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.coffee:63)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)     at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.coffee:37)     at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.keep(DaemonCommandExecution.java:104)     at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.coffee:52)     at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)     at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)     at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorIhow                              

Reference:- Error running android: Gradle project sync failed. Please fix your project and endeavor again

asked Apr 11, 2020 at 14:04

user avatar

1

  • I have facing the same consequence, android studio iii.6.2, same error while generating signed APK, previous android studio versions i have build signed APK properly...can some i help with the issue?

    May xviii, 2020 at 6:33

iv Answers 4

Finally, I solved the trouble, I merely delete intermediates folder which is located at app/build/intermediates and rebuild your project or invalidate caches/Restart

answered April xi, 2020 at 18:49

user avatar

3

  • @Ashana.Jackol do you delete files at app/build/intermediates?

    May 18, 2020 at 7:08

  • Woked, It was a my silly error, From the signed APK generating windows i pointed wrong project location...Thanks for the reply bro.

    May 18, 2020 at vii:fourteen

  • @Ashana.Jackol Yoo, upvote question too, information technology can help many people!

    May xviii, 2020 at vii:36

I resolved this by deleting everything under the build directory then rebuilding the project

answered May 12, 2020 at eighteen:17

user avatar

1

  • thanks for this, this worked like a charm, deleted everything under build and then did Invalidate cahe and restart.

    Jul xviii, 2021 at 21:24

Follow the following steps:

ane. Clean Project

two. Rebuild

answered December vii, 2020 at 12:36

user avatar

I only had the same issue and the problem was the administrator privileges issue on Windows 10! Ironically I couldn't admission the folder with administrator account.

After looking around a little chip, luckily restarting the explorer with administrator privileges did the pull a fast one on;

  • Open Job Manager
  • End Task on the Explorer
  • File -> Run New Task
  • explorer (select the "Create this task with administrative privileges")

answered May seven, 2020 at 22:06

user avatar

Not the answer you lot're looking for? Scan other questions tagged android android-studio or ask your ain question.