If I keep the transitive flag = false I get the following error message: c++ exception in nativemodules java.lang.noclassdeffounderror: failed resolution of: Lcom/google/android/gms/common/GoogleApiAvailability If I set the transitive flag to true no errors are shown and the application starts well. Why is this happening? Can you explain this to me please???