Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 1    Views: 115

miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
11/07/16 06:10 AM (7 years ago)

Android MultiDex problem solved

I had this error: ":app:transformClassesWithDexForRelease FAILED" in Android app. I found solution: in build.gradle - compile 'com.google.android.gms:play-services:9.4.0' I replaced with - compile 'com.google.android.gms:play-services-gcm:9.4.0' It means that you selectively compile APIs that you need, not all. https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
11/08/16 02:31 AM (7 years ago)
Great tip - thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.