Execution failed for task ':app:transformClassesWithDexForDebug' while implementing Google sign in for Android

后端 未结 4 893
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 14:26

I\'m trying to implement Google sign in for Android and I\'m following the instructoins via

https://developers.google.com/identity/sign-in/android/start-integrating<

4条回答
  •  庸人自扰
    2020-11-28 14:59

    Adding

     dexOptions {
            incremental = true;
            preDexLibraries = false
            javaMaxHeapSize "4g" // 2g should be also OK
        }
    

    in with in android in build.gradle works for me.

提交回复
热议问题