alibaba / alibaba/AndFix

用到MultiDex的时候打不开dex

Open
#68 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

我们项目方法太多,用到了MultiDex,用andfix的时候说是打不开dex,log如下:
java.io.IOException: unable to open DEX file
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:304)
at dalvik.system.DexFile.(DexFile.java:115)
at dalvik.system.DexFile.loadDex(DexFile.java:155)
at com.alipay.euler.andfix.AndFixManager.fix(AndFixManager.java:147)
at com.alipay.euler.andfix.patch.PatchManager.loadPatch(PatchManager.java:214)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the MultiDex configuration described in the issue and trace the failure through com.alipay.euler.andfix.AndFixManager.fix at line 147 and PatchManager.loadPatch at line 214. Compare the DEX-loading behavior with and without MultiDex; done means identifying the compatibility cause and documenting or validating a supported resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.