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

0.3.0 版本 plugin shrink_r_class 在AGP 7.2 以上 报错 java.lang.NoSuchFieldException: resourcesComputer #150

Open
JustinLance opened this issue Oct 8, 2022 · 1 comment

Comments

@JustinLance
Copy link

AGP:'com.android.tools.build:gradle:7.2.1'

Caused by: com.bytedance.gradle.compat.util.Reflect$ReflectException: com.bytedance.gradle.compat.util.Reflect$ReflectException: java.lang.NoSuchFieldException: resourcesComputer

@JustinLance JustinLance changed the title plugin shrink_r_class 在AGP 7.2 以上 报错 java.lang.NoSuchFieldException: resourcesComputer 0.3.0 版本 plugin shrink_r_class 在AGP 7.2 以上 报错 java.lang.NoSuchFieldException: resourcesComputer Oct 8, 2022
@sanjinwang
Copy link

AGP:'com.android.tools.build:gradle:7.3.1'

  • What went wrong:
    Execution failed for task ':app:transformClassesWithByteXForGpRelease'.

com.bytedance.gradle.compat.util.Reflect$ReflectException: com.bytedance.gradle.compat.util.Reflect$ReflectException: java.lang.NoSuchFieldException: resourcesComputer

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

2 participants