android– 用proguard构建卡住“执行任务:[:app:assembleRelease]”从最近23小时到签名apk

android– 用proguard构建卡住“执行任务:[:app:assembleRelease]”从最近23小时到签名apk,第1张

概述我正在使用ProGuard来缩小和构建签名的apk.但它花了很长时间来构建apk并没有完成.从最后23小时开始,它停留在“执行任务:[:app:assembleRelease]”.我尝试了所有外部lib的“-Keep”和“-dontwarn”命令.仍然没有完成整个过程,也没有抛出任何错误.这是我的proGuard-rules.pro内容.-d

我正在使用ProGuard来缩小和构建签名的apk.但它花了很长时间来构建apk并没有完成.从最后23小时开始,它停留在“执行任务:[:app:assembleRelease]”.我尝试了所有外部lib的“-Keep”和“-dontwarn”命令.仍然没有完成整个过程,也没有抛出任何错误.

这是我的proGuard-rules.pro内容.

-dontwarn androID.support.**-dontwarn in.myProject.**-dontwarn com.woxtheBox.dragListvIEw.**-dontwarn com.androID.support.appcompat-v7.**-dontwarn com.androID.support.support-v4.**-dontwarn com.androID.support.design.**-dontwarn com.mcxiaoke.volley.library.**-dontwarn com.Google.code.gson.gson.**-dontwarn com.squareup.androID-times-square.**-dontwarn com.github.woxtheBox.dragListvIEw.**-dontwarn com.androID.support.recyclervIEw-v7.**-keep class com.woxtheBox.dragListvIEw.** { *; }-keep interface com.woxtheBox.dragListvIEw.** { *; }-keep class com.androID.support.appcompat-v7.**{*;}-keep interface com.androID.support.appcompat-v7.**{*;}-keep class com.androID.support.support-v4.**{*;}-keep interface com.androID.support.support-v4.**{*;}-keep class com.androID.support.design.**{*;}-keep interface com.androID.support.design.**{*;}-keep class com.mcxiaoke.volley.library.**{*;}-keep interface com.mcxiaoke.volley.library.**{*;}-keep class com.Google.code.gson.gson.**{*;}-keep interface com.Google.code.gson.gson.**{*;}-keep class com.squareup.androID-times-square.**{*;}-keep interface com.squareup.androID-times-square.**{*;}-keep class com.github.woxtheBox.dragListvIEw.**{*;}-keep interface com.github.woxtheBox.dragListvIEw.**{*;}-keep class com.androID.support.recyclervIEw-v7.**{*;}-keep interface com.androID.support.recyclervIEw-v7.**{*;}-keep class com.Google.androID.gms.play-services-gcm.**{*;}-keep interface com.Google.androID.gms.play-services-gcm.**{*;}

这是我的build.gradle文件

apply plugin: 'com.androID.application'apply plugin: 'com.Google.gms.Google-services'androID {    signingConfigs {        config {            keyAlias 'DeBUG'            keyPassword 'xyz'            storefile file('.app/XXXXX.jks')            storePassword 'XCV'        }    }    compileSdkVersion 23    buildToolsversion '23.0.2'    defaultConfig {        applicationID "in.myProject"        minSdkVersion 11        targetSdkVersion 23        versionCode 21        versionname "0.21"    }    buildTypes {        release {            MinifyEnabled true            proguardfiles getDefaultProguardfile('proguard-androID.txt'), 'proguard-rules.pro'        }    }    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    }    compileOptions {        sourceCompatibility JavaVersion.VERSION_1_7        targetCompatibility JavaVersion.VERSION_1_7    }}dependencIEs {    compile filetree(dir: 'libs', include: ['*.jar'])    compile 'com.androID.support:appcompat-v7:23.4.0'    compile 'com.androID.support:support-v4:23.4.0'    compile 'com.androID.support:design:23.4.0'    compile 'com.mcxiaoke.volley:library:1.0.19'    compile 'com.Google.code.gson:gson:2.3'    compile 'ch.acra:acra:4.6.1'    compile 'com.squareup:androID-times-square:1.6.5@aar'    compile 'com.github.woxtheBox:dragListvIEw:1.2.7'    compile 'com.androID.support:recyclervIEw-v7:23.4.0'    compile 'com.Google.androID.gms:play-services-gcm:9.0.0'    /*compile "com.mixpanel.androID:mixpanel-androID:4.+"*/}

使用默认的pro-guard文件运行pro-guard时发生错误

Error:15:24:43.753 [ERROR] [system.err] Note: there were 7 duplicate class deFinitions.15:24:43.753 [ERROR] [system.err]       (http://proguard.sourceforge.net/manual/troubleshooting.HTML#duplicateclass)15:24:44.284 [ERROR] [system.err] Warning: org.acra.ErrorReporter: can't find referenced method 'voID setLatestEventInfo(androID.content.Context,java.lang.CharSequence,java.lang.CharSequence,androID.app.PendingIntent)' in library class androID.app.Notification15:24:45.444 [ERROR] [system.err] Warning: there were 1 unresolved references to library class members.15:24:45.444 [ERROR] [system.err]          You probably need to update the library versions.15:24:45.444 [ERROR] [system.err]          (http://proguard.sourceforge.net/manual/troubleshooting.HTML#unresolvedlibraryclassmember)15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] 15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build Failed with an exception.15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] 15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] Execution Failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.15:24:45.446 [ERROR] [org.gradle.BuildExceptionReporter] > java.io.IOException: Please correct the above warnings first.15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter] 15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.API.tasks.TaskExecutionException: Execution Failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)15:24:45.447 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ValIDatingTaskExecuter.execute(ValIDatingTaskExecuter.java:58)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.SkipEmptySourcefilesTaskExecuter.execute(SkipEmptySourcefilesTaskExecuter.java:52)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processtask(AbstractTaskPlanExecutor.java:66)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DefaultBuildExecuter.access0(DefaultBuildExecuter.java:23)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DefaultBuildExecuter.proceed(DefaultBuildExecuter.java:43)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:154)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.FactorIEs.create(FactorIEs.java:22)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.dobuildStages(DefaultGradleLauncher.java:151)15:24:45.448 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.access0(DefaultGradleLauncher.java:32)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.create(DefaultGradleLauncher.java:99)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.create(DefaultGradleLauncher.java:93)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.dobuild(DefaultGradleLauncher.java:93)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.tooling.internal.provIDer.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:46)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.tooling.internal.provIDer.runner.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:58)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.dobuild(ExecuteBuild.java:52)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.WatchFordisconnection.execute(WatchFordisconnection.java:37)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.resetDeprecationLogger.execute(resetDeprecationLogger.java:26)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)15:24:45.449 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.call(ForwardClIEntinput.java:74)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.call(ForwardClIEntinput.java:72)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.util.Swapper.swap(Swapper.java:38)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.ForwardClIEntinput.execute(ForwardClIEntinput.java:72)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.LogToClIEnt.dobuild(LogToClIEnt.java:66)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.dobuild(EstablishBuildEnvironment.java:72)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.API.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.exec.StartBuildOrResponDWithBusy.run(StartBuildOrResponDWithBusy.java:50)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.launcher.daemon.server.DaemonStateCoordinator.run(DaemonStateCoordinator.java:246)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.concurrent.StoppableExecutorImpl.run(StoppableExecutorImpl.java:40)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.RuntimeException: java.io.IOException: Please correct the above warnings first.15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.builder.tasks.Job.awaitRethrowExceptions(Job.java:79)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.transforms.ProGuardtransform.transform(ProGuardtransform.java:209)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.pipeline.transformTask.call(transformTask.java:178)15:24:45.450 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.pipeline.transformTask.call(transformTask.java:174)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.builder.profile.ThreadRecorder.record(ThreadRecorder.java:55)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.builder.profile.ThreadRecorder.record(ThreadRecorder.java:47)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.pipeline.transformTask.transform(transformTask.java:173)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at org.gradle.API.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    ... 70 more15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOException: Please correct the above warnings first.15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at proguard.Initializer.execute(Initializer.java:473)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at proguard.ProGuard.initialize(ProGuard.java:233)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at proguard.ProGuard.execute(ProGuard.java:98)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.transforms.BaseProguardAction.runProguard(BaseProguardAction.java:52)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.transforms.ProGuardtransform.doMinification(ProGuardtransform.java:273)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.transforms.ProGuardtransform.access0(ProGuardtransform.java:62)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.internal.transforms.ProGuardtransform.run(ProGuardtransform.java:199)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.builder.tasks.Job.runTask(Job.java:51)15:24:45.451 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.build.gradle.tasks.SimpleWorkQueue$Emptythreadcontext.runTask(SimpleWorkQueue.java:41)15:24:45.452 [ERROR] [org.gradle.BuildExceptionReporter]    at com.androID.builder.tasks.WorkQueue.run(WorkQueue.java:223)15:24:45.452 [ERROR] [org.gradle.BuildExceptionReporter] 

解决方法:

使用apache http客户端的旧版本arca lib会出现此问题.但Apache http从androID API 23中删除,因此需要将Acra lib更新到版本4.9.0,以便pro-guard可以在API 23上使用acra正常运行.

总结

以上是内存溢出为你收集整理的android – 用proguard构建卡住“执行任务:[:app:assembleRelease]”从最近23小时到签名apk全部内容,希望文章能够帮你解决android – 用proguard构建卡住“执行任务:[:app:assembleRelease]”从最近23小时到签名apk所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1119855.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存