ITeye博客

工程加入google service无法生成dex

jonson · 2014-12-15 20:47 · java · android · 移动开发 · Markdown

需要接入google广告,碰到一系列问题。 加入之后编apk包出现

Unable to execute dex: method ID not in [0, 0xffff]: 65536 Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536

查了很多资料,解决了问题。详细过程之后补充,先留着备忘

https://medium.com/@rotxed/dex-skys-the-limit-no-65k-methods-is-28e6cb40cf71

http://stackoverflow.com/questions/15209831/unable-to-execute-dex-method-id-not-in-0-0xffff-65536

http://developer.android.com/tools/building/multidex.html

http://android-developers.blogspot.com/2014/11/google-play-services-65.html

http://developer.android.com/google/play-services/index.html?utm_campaign=playservices65-1114&utm_source=dac&utm_medium=blog

http://android-developers.blogspot.it/2014/12/google-play-services-and-dex-method.html

http://developer.android.com/tools/building/multidex.html

http://developer.android.com/sdk/installing/studio-build.html

http://android-developers.blogspot.com/2014/12/android-studio-10.html

http://developer.android.com/tools/building/building-studio.html

gradle 入门 http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Running-ProGuard

proguard问题 http://stackoverflow.com/questions/18481752/gradle-failed-to-build-when-proguard-is-activated 一些比较有用的入门知识 https://developer.android.com/sdk/installing/studio-tips.html

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。