AttributeError: у объекта 'SConsEnvironment' нет атрибута 'android_add_dependency' - PullRequest
0 голосов
/ 27 мая 2019

Я пытаюсь скомпилировать годо с этим модулем: admob

https://github.com/kloder-games/godot-admob

Но у меня появляется эта ошибка при компиляции:

scons platform=android target=release android_arch=arm64v8
scons: Reading SConscript files ...
Building for Android (arm64v8)
WARNING: android_arch=arm64v8 is not supported by ndk_platform lower than android-21; setting         ndk_platform=android-21
Using NDK unified headers
Warning: module 'admob' uses a deprecated `can_build` signature in its config.py file, it should be `can_build(env, platform)`.
AttributeError: 'SConsEnvironment' object has no attribute 'android_add_dependency':
  File "D:\Backup\Download\godot-master\godot-master\SConstruct", line 403:
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' }")

что такое?

...