AAPTEXECPTION

时间:2021-07-11 18:55:55

AAPTEXECPTION

Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: 
\\?\C:\Users\Admin\.gradle\caches\transforms-\files-1.1\appcompat-v7-26.1..aar\a234c5f0534a8da0e4db0da7da7f3963
\res\drawable-mdpi-v4\abc_menu_hardkey_panel_mtrl_mult..png ERROR: Unable to open PNG file

AAPTEXECPTION

Error:Execution failed for task ':domain:processDebugResources'.
> java.io.IOException: Could not delete path 'C:\fastwork\Projects\ComponentStudy-master\domain
\build\generated\source\r\debug\android'.
::18.397 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
::18.398 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
::18.398 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
::18.398 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Task 'compileDebug' is ambiguous in root project 'ComponentStudy-master'. Candidates
are: 'compileDebugAidl', 'compileDebugAndroidTestAidl', 'compileDebugAndroidTestJavaWithJavac', 'compileDebugAndroidTestNdk', 'compileDebugAndroidTestRenderscrip
t', 'compileDebugAndroidTestShaders', 'compileDebugAndroidTestSources', 'compileDebugJavaWithJavac', 'compileDebugNdk', 'compileDebugRenderscript', 'compileDebugS
haders', 'compileDebugSources', 'compileDebugUnitTestJavaWithJavac', 'compileDebugUnitTestSources'.
::18.399 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
::18.400 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
::18.400 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run gradlew tasks to get a list of available tasks.
::18.400 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
::18.400 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
::18.401 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.execution.TaskSelectionException: Task 'compileDebug' is ambiguous in roo
t project 'ComponentStudy-master'. Candidates are: 'compileDebugAidl', 'compileDebugAndroidTestAidl', 'compileDebugAndroidTestJavaWithJavac', 'compileDebugAndroid
TestNdk', 'compileDebugAndroidTestRenderscript', 'compileDebugAndroidTestShaders', 'compileDebugAndroidTestSources', 'compileDebugJavaWithJavac', 'compileDebugNdk
', 'compileDebugRenderscript', 'compileDebugShaders', 'compileDebugSources', 'compileDebugUnitTestJavaWithJavac', 'compileDebugUnitTestSources'.
::18.401 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:)
::18.401 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:)
FAILURE: Build failed with an exception.

* What went wrong:
Task 'debugRuntimeClasspath' not found in root project 'ComponentStudy-master'. * Try:
Run gradlew tasks to get a list of available tasks. Run with --info or --debug option to get more log output. * Exception is:
org.gradle.execution.TaskSelectionException: Task 'debugRuntimeClasspath' not found in root project 'ComponentStudy-master'.
at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:)
at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:)
at org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:)
at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter$.proceed(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter$.proceed(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:)
at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraph.run(DefaultGradleLauncher.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:)
at org.gradle.initialization.DefaultGradleLauncher.constructTaskGraph(DefaultGradleLauncher.java:)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:)
at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:)
at org.gradle.internal.invocation.GradleBuildController$.call(GradleBuildController.java:)
at org.gradle.internal.invocation.GradleBuildController$.call(GradleBuildController.java:)
at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:)
at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:)
at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:)
at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$.run(RunAsBuildOperationBuildActionRunner.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:)
at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:)
at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:)
at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:)
at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:)
at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:)
at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$.call(ForwardClientInput.java:)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$.call(ForwardClientInput.java:)
at org.gradle.util.Swapper.swap(Swapper.java:)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$.run(StartBuildOrRespondWithBusy.java:)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$.run(DaemonStateCoordinator.java:)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:)
at org.gradle.internal.concurrent.ManagedExecutorImpl$.run(ManagedExecutorImpl.java:)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:) * Get more help at https://help.gradle.org BUILD FAILED in 12s

http://blog.csdn.net/runner__1/article/details/53482565

相关文章