kloder-games / godot-gpgs

Godot Module for Google Play Game Services
MIT License
56 stars 16 forks source link

Can not build with module admob #12

Open homarox opened 5 years ago

homarox commented 5 years ago

Hello, When I compiling separate AdMob and gpgs module as this link: https://github.com/kloder-games/godot-admob https://github.com/kloder-games/godot-gpgs => It's working well. But if I combine them and config

👌 admob\android\AndroidManifestChunk.xml <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

👌 gpgs\android\AndroidManifestChunk.xml

👌 output issue:

  • What went wrong: Execution failed for task ':transformClassesWithDexForDebug'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/api/zze;

👌👌 Anybody know what wrong with my config? 👌👌

takhimi commented 5 years ago

Is this solved ?

mertoktem commented 5 years ago

i have same issue...

enrikqose commented 5 years ago

open gpgs/config.py and change from this: env.android_add_dependency("compile 'com.google.android.gms:play-services-plus:9.8.0'") env.android_add_dependency("compile 'com.google.android.gms:play-services-drive:9.8.0'") env.android_add_dependency("compile 'com.google.android.gms:play-services-games:9.8.0'") to this: env.android_add_dependency("compile 'com.google.android.gms:play-services-plus:16.0.0'") env.android_add_dependency("compile 'com.google.android.gms:play-services-drive:16.0.0'") env.android_add_dependency("compile 'com.google.android.gms:play-services-games:16.0.0'")