Project crashes immediately when exported to android device

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

Godot version: 3.2.dev.custom_build.e99992902
OS: Arch Linux

So I built the android export templates with the following commands:

scons use_llvm=yes -j6 platform=android target=release android_arch=armv7  
scons use_llvm=yes -j6 platform=android target=release android_arch=arm64v8 

Then after running ./gradlew build I moved the resulting apks like so:

cp java-debug-unsigned.apk ~/.local/share/godot/templates/3.2.dev/android_debug.apk
cp java-release-unsigned.apk ~/.local/share/godot/templates/3.2.dev/android_release.apk

I tried to follow the documentation as close as possible and yet when I install
the project on my android device (HTC One) I get the following error:

couldn't find "libgodot_android.so"

Any help would be appreciated.

rondo

any error message while running scons or gradlew?

volzhs | 2019-06-16 12:40

I built successfully 3.2.alpha godot android examples with extra godot/modules by copying godot/platform/android/java/app/build/outputs/apk/debug/android_debug.apk and godot/platform/android/java/app/build/outputs/apk/release/android_release.apk to the templates folder on linux, after running gradlew build. I just followed the steps from Compiling for Android — Godot Engine (latest) documentation in English

unikorn57 | 2019-10-04 14:18

:bust_in_silhouette: Reply From: hhuseyincihangir

I get the same mistake. Is there anyone who can help?

please, could you delete this answer and make it into a comment so other users can see its not an answer.

0sait05 | 2019-10-04 11:16