工程加入google service无法生成dex

24 篇文章 0 订阅
需要接入google广告,碰到一系列问题。
加入之后编apk包出现
[quote]
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
[/quote]

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


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
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值