有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java只有一个google play依赖项,但所有google play库都在应用程序外部库上

我有电话。谷歌。安卓gms:play services gcm:8.4.0'在我的安卓应用程序gradle上。首先,我有“com”。谷歌。安卓gms:play services:7.8.0',但我把它改成了'com'。谷歌。安卓gms:play services gcm:8.4.0'因为65限制问题

65限制问题还没有解决,我正在使用multidex enable来运行我的应用程序,我认为我不应该有这个问题。以下是我的应用程序的所有依赖项。我没有计算每个依赖项的方法(我不知道如何计算),但我在其他项目中使用过这些方法,我没有遇到这个问题

testCompile 'junit:junit:4.12' 
compile    'com.安卓.support:multidex:1.0.0' 
compile    'com.安卓.support:cardview-v7:23.3.0' 
compile    'com.google.安卓.gms:play-services-gcm:8.4.0' 
compile    'com.安卓.support:appcompat-v7:23.3.0' 
compile    'com.安卓.support:design:23.3.0' 
compile    'com.parse.bolts:bolts-安卓:1.+' 
compile    'com.parse:parse-安卓:1.13.0' 
compile    'com.bit6.sdk:bit6-sdk:0.9.6' 
compile    'com.bit6.ui:bit6-ui:0.9.6'    
compile    'de.hdodenhof:circleimageview:2.0.0' 
compile    'com.facebook.安卓:facebook-安卓-sdk:[4,5)' 
compile    'com.squareup.picasso:picasso:2.4.0'

我发现在“外部图书馆”上,所有的google play服务仍然出现,这真的令人怀疑

External libraries capture

我必须使用multidex库才能工作吗?图片中的库(我没有使用)是否导致我的方法计数增加

我的应用程序的构建和运行时间长达20分钟。我的项目有16个类,每个类有5个左右的方法


共 (0) 个答案