2***@qq.com
2***@qq.com
  • 发布:2023-05-16 17:15
  • 更新:2024-01-22 19:51
  • 阅读:778

uniapp云打包时一直失败,这是错误日志,各位大佬帮忙看下

分类:HBuilderX
Appid: __UNI__xxxxxxx  
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01  
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01  
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01  
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>  

FAILURE: Build failed with an exception.  

* What went wrong:  
Execution failed for task ':app:processReleaseResources'.  
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction  
> Android resource linking failed  
ERROR:/home/[Name]/.gradle/caches/transforms-3/afa44f171b367f770428e1d297ea8e97/transformed/jetified-tuicalling-release/res/layout/chat_input_more_actoin.xml:28: AAPT: error: resource color/text_color_gray (aka com.odr_jinan:color/text_color_gray) not found.  

* Try:  
> Run with --debug option to get more log output.  
> Run with --scan to get full insights.  

* Exception is:  
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processReleaseResources'.  
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)  
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)  
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:143)  
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)  
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)  
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)  
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)  
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)  
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)  
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)  
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)  
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)  
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:61)  
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction  
at org.gradle.workers.internal.DefaultWorkerExecutor$WorkItemExecution.waitForCompletion(DefaultWorkerExecutor.java:342)  
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:142)  
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForItemsAndGatherFailures(DefaultAsyncWorkTracker.java:94)  
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForAll(DefaultAsyncWorkTracker.java:80)  
at org.gradle.internal.work.DefaultAsyncWorkTracker.waitForCompletion(DefaultAsyncWorkTracker.java:68)  
at org.gradle.api.internal.tasks.execution.TaskExecution$2.run(TaskExecution.java:247)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)  
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)  
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:224)  
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:207)  
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:190)  
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:168)  
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)  
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)  
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)  
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)  
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)  
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)  
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)  
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)  
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)  
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)  
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)  
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)  
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)  
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)  
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)  
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)  
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)  
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)  
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)  
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)  
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:188)  
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)  
at org.gradle.internal.Either$Right.fold(Either.java:175)  
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)  
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)  
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)  
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:38)  
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:27)  
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)  
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)  
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:109)  
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)  
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)  
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)  
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)  
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)  
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)  
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)  
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)  
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)  
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)  
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)  
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)  
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)  
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:93)  
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:93)  
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)  
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)  
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)  
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)  
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)  
at org.gradle.api.internal.tasks.execution.TaskExecution$3.withWorkspace(TaskExecution.java:284)  
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)  
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)  
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)  
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)  
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)  
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)  
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)  
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:142)  
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)  
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)  
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)  
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)  
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)  
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)  
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)  
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)  
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)  
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)  
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)  
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)  
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:61)  
Caused by: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed  
ERROR:/home/[Name]/.gradle/caches/transforms-3/afa44f171b367f770428e1d297ea8e97/transformed/jetified-tuicalling-release/res/layout/chat_input_more_actoin.xml:28: AAPT: error: resource color/text_color_gray (aka com.odr_jinan:color/text_color_gray) not found.  

at com.android.builder.internal.aapt.v2.Aapt2Exception$Companion.create(Aapt2Exception.kt:45)  
at com.android.builder.internal.aapt.v2.Aapt2Exception$Companion.create$default(Aapt2Exception.kt:39)  
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteException(Aapt2ErrorUtils.kt:237)  
at com.android.build.gradle.internal.res.Aapt2ErrorUtils.rewriteLinkException(Aapt2ErrorUtils.kt:130)  
at com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnableKt.processResources(Aapt2ProcessResourcesRunnable.kt:75)  
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$Companion.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.kt:874)  
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$Companion.access$invokeAaptForSplit(LinkApplicationAndroidResourcesTask.kt:726)  
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction.run(LinkApplicationAndroidResourcesTask.kt:371)  
at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74)  
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)  
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)  
at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)  
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:97)  
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)  
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)  
at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)  
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)  
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)  
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)  
at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)  
at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)  
at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:206)  
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:214)  
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)  
at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)  
... 3 more* Get more help at https://help.gradle.org  

BUILD FAILED in 1m 7s  
gradle build error: 1
2023-05-16 17:15 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

这个插件:tuicalling 有问题,联系插件作者

jetified-tuicalling-release/res/layout/chat_input_more_actoin.xml:28: AAPT: error: resource color/text_color_gray (aka com.odr_jinan:color/text_color_gray) not found.

y***@163.com

y***@163.com

解决了没

s***@163.com

s***@163.com

解决了没

zzzzz33

zzzzz33

大哥们,这个报错是什么问题,也是云打包的时候

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"extension-level\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.


  • What went wrong:
    Execution failed for task ':app:checkReleaseDuplicateClasses'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    Duplicate class com.tencent.liteav.TXLiteAVCode found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.a.a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.basic.log.TXCLog found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.NativeLoad found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.a.a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.a.b found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.a.c found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.a.d found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.b found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.b.a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.b.b found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.c found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.d found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.e found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.f found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.f$a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.g found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.h found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.i found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.j found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.k found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.l found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.m found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.n found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.liteav.beauty.b.o found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.ITXLivePlayListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLiveBase found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLiveBase$1 found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLiveBase$a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLiveConstants found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLivePlayConfig found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLivePlayer found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLivePlayer$ITXAudioRawDataListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLivePlayer$ITXSnapshotListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.TXLivePlayer$ITXVideoRawDataListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.ui.TXCloudVideoView found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.ui.TXCloudVideoView$1 found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.ui.TXCloudVideoView$a found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.video.TXScreenCapture found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.rtmp.video.TXScreenCapture$TXScreenCaptureAssistantActivity found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$ITXBGMNotify found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$ITXSnapshotListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$ITXVideoRecordListener found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$TXRecordResult found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$TXUGCCustomConfig found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)
    Duplicate class com.tencent.ugc.TXRecordCommon$TXUGCSimpleConfig found in modules jetified-LiteAVSDK_TRTC-11.4.0.13189-runtime (com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189) and jetified-weex_livepusher-release-runtime (weex_livepusher-release.aar)

Go to the documentation to learn how to Fix dependency resolution errors.

  • Try:

    Run with --debug option to get more log output.
    Run with --scan to get full insights.

要回复问题请先登录注册