ByteX icon indicating copy to clipboard operation
ByteX copied to clipboard

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

Open JustinLance opened this issue 3 years ago • 1 comments

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 avatar Oct 08 '22 02:10 JustinLance

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

sanjinwang avatar Dec 29 '22 09:12 sanjinwang