0 votes

Hi I was following the build system to include new modules in the executable, hence to run the game using source files. I am wanting to deploy on phone (android).

Now the game works etc on pc, but when i generate an apk or run it through the engine, it crashes. Any help? Thanks

asked Aug 17, 2017 in Engine by yeeshu06 (72 points)

[modules\libmodules.android.debug.armv7.neon.a] The filename or extension is too long scons: building terminated because of errors.

This is what comes up, when i try build the debug and release system. When i check in the source files...this file doesn't exist...so i dont know whats happening.. Thanks

1 Answer

0 votes

The file libmodules.android.debug.armv7.neon.a appears only when you build the godot engine not the project.

If you want to add some custom modules to the engine you should build the export templates. For example in order to build android templates I do these commands:

cd <path to godot engine>
scons platform=android target=release android_stl=yes verbose=yes
cd platform/android/java
./gradlew build

After that I copy godot/bin/android_release.apk to ~/.godot/templates/

And then I export my project with new functionality.

answered Aug 19, 2017 by DrMoriarty (22 points)
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 How to use this Q&A? before posting your first questions.