kloder-games / godot-admob

Module Admob for Godot engine
MIT License
362 stars 62 forks source link

Error when compiling for android #141

Open p10tr3k opened 4 years ago

p10tr3k commented 4 years ago

OS target (Android/iOS): Android

Godot version: v3.2.2.rc.custom_build.36a30f681

Issue description: When compiling Godot with AdMob module I get error:

AttributeError: 'SConsEnvironment' object has no attribute 'android_add_dependency':

  File "D:\Software\_Software-Git\godot-git\SConstruct", line 444:
    config.configure(env)
  File "./modules/admob\config.py", line 6:
    env.android_add_dependency("compile ('com.google.android.gms:play-services-ads:16.0.0') { exclude group: 'com.android.support' }")
gumaciel commented 4 years ago

I think this module doesnt work for 3.2.2, just 3.1.2 <