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

大佬,5.x之后没有办法限制dex文件的个数呢 #95

Open
tyzero opened this issue Mar 8, 2018 · 2 comments
Open

大佬,5.x之后没有办法限制dex文件的个数呢 #95

tyzero opened this issue Mar 8, 2018 · 2 comments

Comments

@tyzero
Copy link

tyzero commented Mar 8, 2018

dex文件过多,在5.�x 会报错,Apk 安装的时候只能加载99个dex文件,生成一个 oat文件(6.0之后没有这个限制)
只release会这样,基本上一个库就增加一个dex.,apk里将近101个dex文件

debug模式下,生成的dex文件并不多,最多也就5个。

找了半天找不到可以hook的地方

@typ0520
Copy link
Owner

typ0520 commented Mar 8, 2018

@tyzero 你是不是搞错了,应该是debug模式才会有那么多dex吧,release会执行merge的,你的android plugin是那个版本的

@tyzero
Copy link
Author

tyzero commented Apr 27, 2018

@typ0520 没有搞错呢,最新gradle:3.1.1 d8编译器修复了这个bug

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