This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi!
Having trying to follow https://docs.godotengine.org/en/3.1/development/compiling/compiling_for_android.html
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

in Engine by (193 points)
edited by

1 Answer

0 votes
Best answer

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.

by (169 points)
selected by

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

https://github.com/Shin-NiL/godot-custom-mobile-template

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.