Compiling for Android: Scons Issue

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

Hi!
Having trying to follow Compiling for Android — Godot Engine (3.1) documentation in English
but, when I try to get release template or debug template with:

scons platform=android target=release android_arch=armv7
scons platform=android target=release android_arch=arm64v8

, it says:

scons: *** No SConstruct file found.
File "C:\Python27\scons-3.0.4\script\..\engine\SCons\Script\Main.py", line 933, in _main

I tryied python 3.7.2 also, not worked. Please help

:bust_in_silhouette: Reply From: mokalux

hello there,

my config:

  • android ndk latest from android studio data folder,
  • latest python 3.7 (32 or 64?),
  • latest scons 3.0.4

THEN I HAD TO ADD in the folder:
“C:.…\AppData\Local\Android\Sdk\ndk-bundle\toolchains”
an empty folder named
“mips64el-linux-”

=> COMPILE = OK

Hope this helps.

Thanks ! You are very helpful. I’ve found:

GitHub - Shin-NiL/godot-custom-mobile-template: Godot Game Engine Custom Mobile Template

to download this and just refer to it in export:) Works like a charm

Okan Ozdemir | 2019-05-26 20:34