How to fix Android "INSTALL_FAILED_OLDER_SDK" error ?

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

Hi, I can’t test my project on my Android phone. Godot version is 3.1 beta in GLES2 mode. Here’s the last lines of the console.

Failure [INSTALL_FAILED_OLDER_SDK]
rm failed for -f, No such file or directory
** DEVICE API < 21; DEBUGGING OVER WI-FI **
Starting: Intent { act=android.intent.action.MAIN cmp=com.neotry.snong/org.godotengine.godot.Godot }
Error type 3
Error: Activity class {com.neotry.snong/org.godotengine.godot.Godot} does not exist.

This old phone’s Android is stuck to 4.1.2.
If you know the Godot file who sets the minimal Android version, feel free to answer.

I have the same problem. Have you found a solution in the meantime?

TobiLa | 2019-02-09 16:47