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

[问答]Android应用方法数量超过65K个怎么办? #71

Open
ihgoo opened this issue Mar 14, 2015 · 6 comments
Open

[问答]Android应用方法数量超过65K个怎么办? #71

ihgoo opened this issue Mar 14, 2015 · 6 comments

Comments

@ihgoo
Copy link

ihgoo commented Mar 14, 2015

No description provided.

@touhonoob
Copy link

multi-dex

@snowolf9929
Copy link

使用Android Studio 的gradle 可以构建MutilDex

@shanksleo
Copy link

出错了表现:Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
解决:谷歌出了 新的Multidex支持库
dependencies { compile 'com.android.support:multidex:1.0.0' }

@kaedea
Copy link

kaedea commented Mar 31, 2015

减少方法数……(:з」∠)

@cym4u
Copy link

cym4u commented May 21, 2015

// dex突破65535的限制
multiDexEnabled true

@Soperf
Copy link

Soperf commented Nov 10, 2015

插件化加载dex

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

7 participants