所以看起来最新的播放服务中存在一个错误.
有谁知道如何解决这个问题?
FAILURE: Build Failed with an exception.* What went wrong:Execution Failed for task ':myappname:transformClassesWithAndroIDGradleClassShrinkerForDevelopmentDeBUG'.> ProGuard configuration parser error: /Users/myusername/.gradle/caches/transforms-1/files-1.1/play-services-base-11.8.0.aar/d2ad9e16677fda9cf07a1280a66e91ca/proguard.txt line 3:88 no viable alternative at input '<fIElds>'
更多信息.似乎问题出在核心模块中:
Error:Execution Failed for task ':myappname:transformClassesWithAndroIDGradleClassShrinkerForDevelopmentDeBUG'.> ProGuard configuration parser error: /Users/myusername/.gradle/caches/transforms-1/files-1.1/play-services-base-11.8.0.aar/d2ad9e16677fda9cf07a1280a66e91ca/proguard.txt line 3:88 no viable alternative at input '<fIElds>'
编辑:
导致该错误的文件的内容是:
# b/35135904 Ensure that proguard will not strip the mResultGuardian.-keepclassmembers class com.Google.androID.gms.common.API.internal.BasePendingResult { com.Google.androID.gms.common.API.internal.BasePendingResult.ReleasableResultGuardian <fIElds>;}
解决方法:
似乎默认的收缩器已经改变了.添加配置以启用ProGuard似乎可行.
buildTypes { release { deBUGgable false MinifyEnabled true useProguard true ... } deBUG { deBUGgable true MinifyEnabled true useProguard true ... } }
总结 以上是内存溢出为你收集整理的android – build on play-services:11.8.x with pro guard parser error全部内容,希望文章能够帮你解决android – build on play-services:11.8.x with pro guard parser error所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)