Skip to content

编译报主dex超过65536错误 #1310

@alen252

Description

@alen252

异常类型:app编译异常

手机型号:如:Nexus 5(如是编译异常,则可以不填)

手机系统版本:如:Android 5.0 (如是编译异常,则可以不填)

tinker版本:1.9.14.4

gradle版本:5.6

是否使用热更新SDK: 使用了TinkerPatch SDK

系统:如:Windows

'com.android.tools.build:gradle:3.2.1'

堆栈/日志:
AGPBI: {"kind":"error","text":"Cannot fit requested classes in the main-dex file (# methods: 76780 \u003e 65536 ; # fields: 75405 \u003e 65536)","sources":[{}],"tool":"D8"}

Task :ezvizRetail:transformDexArchiveWithDexMergerForDebug FAILED
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: G:\Code\V3.22

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions