Skip to content Skip to sidebar Skip to footer

Build Sdl Mixer For Android

I have already build SDL for Android. But, unfortunately, SDL_mixer is missing there. So I want to build SDL mixer. Problem is: SDL_mixer wants SDL, so how I can include libsdl.so

Solution 1:

In Android.mk for SDL_mixer, there is a reference to SDL library:

LOCAL_SHARED_LIBRARIES = SDL2

So, if you build the two libraries together, the reference will be fulfilled automatically. Alternatively, you can define SDL2 as PREBUILT_SHARED_LIBRARY.

Post a Comment for "Build Sdl Mixer For Android"