android 移动推送-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

android 移动推送

2016-06-17 11:31:27 2659 2

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.RuntimeException: com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK assets/ams-spi-services/com.alibaba.sdk.android.ams.common.spi.FactoryProvider

File1: C:\Users\Administrator\.android\build-cache\7617792c1968148d808f47299f9ac20ae88298cb\output\jars\classes.jar
File2: C:\Users\Administrator\.android\build-cache\ba6e53354f0d98e8379ba9746820206caccc1037\output\jars\classes.jar

android studio 导入最新onesdk报错显示如上

取消 提交回答
全部回答(2)
  • alex_chen_bin
    2019-07-17 19:42:19

    我也在遇到了。在alicloud-android-push-sdk-3.0.12上。咋解决呀
    Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

    com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK assets/ams-spi-services/com.alibaba.sdk.android.ams.common.spi.FactoryProvider

    2 0
  • 1575079716342793
    2019-07-17 19:42:19

    我也遇到了,楼主解决没有啊

    2 0
添加回答
相关问答

0

回答

Android移动推送的在线通知(或消息)和离线通知(或消息)有什么区别?

2017-10-23 14:20:18 2143浏览量 回答数 0

0

回答

Android移动推送的在线通知(或消息)和离线通知(或消息)有什么区别?

2017-10-24 09:31:14 1813浏览量 回答数 0

0

回答

原生安卓引入uc webview sdk,(U4内核)可行?

2021-11-15 10:30:41 1094浏览量 回答数 0

0

回答

安卓集成视频播放器SDK问题

2020-11-30 11:34:04 295浏览量 回答数 0

1

回答

使用安卓SDK下载OSS对象时出现超时

2018-02-10 03:18:20 1196浏览量 回答数 1

0

回答

【视频云端SDK】关于安卓指令集的兼容,Library xxx.so not found

2018-01-18 11:51:46 3454浏览量 回答数 0

1

回答

阿里云安卓推流sdk设置横屏

2017-03-25 14:54:41 2806浏览量 回答数 1

1

回答

安卓设备使用阿里云移动推送SDK的流程和原理是什么

2017-03-14 16:57:58 3499浏览量 回答数 1

1

回答

在安卓中必须搭建maven环境才可以用视频播放的sdk吗

2016-08-15 14:46:22 2017浏览量 回答数 1

1

回答

请问微信分享sdk分享二维码图片到安卓微信,没有长按识别二维码选项

2016-03-09 18:36:56 3643浏览量 回答数 1
+关注
文章
问答
问答排行榜
最热
最新
相关电子书
更多
《深入探索Android热修复技术原理》
立即下载
Android热修复技术原理详解与升级探索
立即下载
《深入探索Android热修复技术原理》电子书
立即下载