我遇到了以下问题。我是编辑 guild.gradle 或 proguard 文件的新手。
Unable to execute dex: method ID not in [0, 0xffff]: 65536
以下是我需要从 google play 服务获得的功能列表。我有 google play 版本 7571000。
- Admob 广告
- 分析
- 应用内购
您能否让我知道我需要在 build.gradle 和 proguard 文件中进行的设置?另外请对 build.gradle 和 proguard 文件有所了解
我已经在我的 build.gradle 中添加了这个。我仍然有同样的问题:
Unable to execute dex: method ID not in [0, 0xffff]: 65536
这是我的库依赖项:
dependencies {
compile 'com.google.android.gms:play-services-ads:7.5.+'
compile 'com.google.android.gms:play-services-analytics:7.5.+'
compile 'com.google.android.gms:play-services-appindexing:7.5.+'
compile 'com.google.android.gms:play-services-appinvite:7.5.+'
compile 'com.google.android.gms:play-services-auth:7.5.+'
compile 'com.google.android.gms:play-services-common:7.5.+'
compile 'com.google.android.gms:play-services-games:7.5.+'
compile 'com.google.android.gms:play-services-plus:7.5.+'
}