【我的Android进阶之旅】Proguard混淆配置错误导致混淆的时候出现错误:Caused by: proguard.ParseException: Unexpected keyword

一、错误描述

刚刚完成一个新功能,然后加上了混淆配置,接着Jenkins自动化编译的时候出错了,错误描述如下所示:

Warning: Exception while processing task java.io.IOException: proguard.ParseException: Unexpected keyword 'com.xtc.watch.view.account.login.utils.stroke.bean.**' in line 142 of file '/data/jenkins/workspace/AP_GlobalLoginBindModule/watch/proguard-module.pro'
:watch:transformClassesAndResourcesWithProguardForRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':watch:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':watch:transformClassesAndResourcesWithProguardForRelease'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
	at org.gradle.api.internal.tasks.execution.Execute

你可能感兴趣的:(我的Android进阶之旅,#,Android混淆,#,Android常见错误解决之道)