其實,我的下一個依賴於我的gradle這個文件:添加依賴於谷歌遊戲服務和Google+登錄
compile 'com.google.android.gms:play-services-auth:8.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
當我將最後我得到的錯誤,現在我需要(實施GCM需要)使用multidex進行調試。
我的問題是如果第一個庫是多餘的。
在此先感謝。
其實,我的下一個依賴於我的gradle這個文件:添加依賴於谷歌遊戲服務和Google+登錄
compile 'com.google.android.gms:play-services-auth:8.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
當我將最後我得到的錯誤,現在我需要(實施GCM需要)使用multidex進行調試。
我的問題是如果第一個庫是多餘的。
在此先感謝。
使用下一依賴性
compile 'com.google.android.gms:play-services:8.4.0'
這是沒有必要使用特殊的依賴進行身份驗證使用Google+
compile 'com.google.android.gms:play-services-auth:8.4.0'
最後,I D on't需要時添加我的依賴使用multidex準確
compile 'com.google.android.gms:play-services-auth:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
我發現this information在部分選擇性編譯的API到可執行。
謝謝。
做您的SYN文件添加依賴關係的build.gradle即顯示在上面保存文件搖籃奶油色酒吧自去年項目已更改後....點擊那個爲合成新的依賴....
是的,我做到了。我只是問當我使用第二個依賴項時是否需要第一個依賴項。 – JCarlos
在這裏檢查http://stackoverflow.com/questions/26609734/how-to-enable-multidexing-with-the-new-android-multidex-support-library –
我已經在使用multidex,但是當我嘗試在我的設備中進行調試,該應用程序安裝有一個顯示_App_的灰色圖標。 – JCarlos