bytedance / ByteX

ByteX is a bytecode plugin platform based on Android Gradle Transform API and ASM. 字节码插件开发平台
Apache License 2.0
3.13k stars 462 forks source link

支持AGP4.2 及 kotlin1.5 #99

Open abshyer opened 3 years ago

abshyer commented 3 years ago

AGP4.2报错

java.lang.NoSuchMethodException: com.android.build.gradle.internal.variant.VariantComponentInfo.getProperties()

kotlin1.5.0报错

We found duplicate module-info class files in the project.

通过bytex.enableDuplicateClassCheck=false可以跳过

yangzhiqian commented 3 years ago

4.2还没支持,kotlin1.5的那个类重复问题应该是修复了的,问一下你用bytex版本是多少?

yangzhiqian commented 3 years ago

目前支持到了4.1

abshyer commented 3 years ago

4.2还没支持,kotlin1.5的那个类重复问题应该是修复了的,问一下你用bytex版本是多少?

0.2.7

MichaelJokAr commented 3 years ago

gradle.properties里添加了bytex.enableDuplicateClassCheck=false编译还是报ERROR [byteX ] We found duplicate module-info class files in the project.

DonYeung commented 2 years ago

gradle.properties里添加了bytex.enableDuplicateClassCheck=false编译还是报ERROR [byteX ] We found duplicate module-info class files in the project.

大佬请问这个问题解决了吗? 同样遇到这个问题 gradle.properties 里添加了`bytex.enableDuplicateClassCheck=false 编译时仍然出现 We found duplicate module-info class files in the project.

We found duplicate kotlin/reflect/jvm/internal/impl/serialization/deserialization/builtins/BuiltInsResourceLoader class files in the project. 的错误

amylovesong commented 1 year ago

请问这里的问题一直没人解决吗?