Compiling godot 2.1.6 for Admob, can anyone help?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By welldiniz

Using NDK deprecated headers
AttributeError: module ‘string’ has no attribute ‘split’:
File “C:\gdt\godot-2.1\SConstruct”, line 296:
detect.configure(env)
File “./platform/android\detect.py”, line 267:
env.Append(LINKFLAGS=string.split(‘-Wl,–fix-cortex-a8’))

Are you able to build for android without modules? I get this same error even when trying to build vanilla.

jandrewlong | 2019-07-17 13:57

:bust_in_silhouette: Reply From: jandrewlong

Edit line 267 in platform/android/detect.py to:

env.Append(LINKFLAGS='-Wl,--fix-cortex-a8'.split())

Keep the same whitespace before it (8 spaces)