Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级gradle到3.5后,R8报错 R8: Expected list element at proguard.txt:154:40 -keepattributes Exceptions,InnerClasses,... #49

Open
megahertz0 opened this issue Nov 20, 2019 · 2 comments

Comments

@megahertz0
Copy link

升级gradle到3.5后,R8报错 R8: Expected list element at proguard.txt:154:40 -keepattributes Exceptions,InnerClasses,...

    classpath 'com.android.tools.build:gradle:3.5.0'  升级后报错

gradle:3.3.0一切正常,升级最新版ArgusAPM还是报错

C:\Users\win10.gradle\caches\transforms-2\files-2.1\66600128aa48d21ef4c09226c4292b08\jetified-argus-apm-main-3.0.1.1001\proguard.txt:157:40-41: R8: Expected list element at C:\Users\win10.gradle\caches\transforms-2\files-2.1\66600128aa48d21ef4c09226c4292b08\jetified-argus-apm-main-3.0.1.1001\proguard.txt:158:40
-keepattributes Exceptions,InnerClasses,...
^

@xu-oO
Copy link

xu-oO commented Apr 20, 2020

一样的问题,老哥解决了没?

@Ygowell
Copy link

Ygowell commented Oct 15, 2020

使用-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,Annotation,EnclosingMethod 替换, 猜测可能是R8不支持...的方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants