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

in Engine by (75 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.

by (214 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 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.