Android NDK: Module main depends on undefined modules: SDL2

Viewed 3942

I've been following this SDL2 tutorial from LazyFoo: http://lazyfoo.net/tutorials/SDL/52_hello_mobile/android_windows/index.php

But when I try to run the ndk-build command, it gives me the following error:

Android NDK: Module main depends on undefined modules: SDL2
Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies)    .  Stop.

How do I fix this?

1 Answers
Related