Using SDL_mixer & SDL_ttf on Android |
agakisiyev
|
Guys can anyone help me to set up those SDL libraries for android project? I followed Lazyfoo's tutorial for SDL_image ( http://lazyfoo.net/tutorials/SDL/53_extensions_and_changing_orientation/android_windows/index.php ) , it works with SDL_image library, but when I did it with those 2 libraries, it did not work. There are no errors while compiling and installing, but when I open app it gives an error : "Unfortunately YourApp has stopped". I commented out everything related to those 2 libraries, but the result is the same.
|
|||||||||||
|
agakisiyev
|
I dont think that there are problem with dependencies, cause it compiled without no problem and during compiling it compiled mikmod and others as well. I will try SDL_ttf asap and post the result |
|||||||||||||
|
agakisiyev
|
I checked, SDL_ttf works with no problem, problem is with SDL_mixer
|
|||||||||||
|
Update! |
agakisiyev
|
Update: In Android.mk file of SDL2_mixer I excluded all external libraries and it worked, then probably there must be problem with one of that libraries.
|
|||||||||||
|
isaacburns
|
The Android project dynamically links the SDL libraries; so your app will link, but fail to run if a dependent library (like SDL_mixer.so) is loaded before all of it's dependencies (by default, libmikmod.so and libsmpeg2.so).
|
|||||||||||
|
Using SDL_mixer & SDL_ttf on Android |
Juanma BC
Guest
|
This thread has some months, but the SDLActivity.java seems to apply yet, more goodies here about android full setup too: https://forums.libsdl.org/viewtopic.php?p=43521&sid=806fdcebbce94a79c03e2fcfacf1cbab
Still no Rumble? I mumble. El 03/07/2015 23:32, "isaacburns" escribió:
|
|||||||||||||
|
Using SDL_mixer & SDL_ttf on Android |
Juanma BC
Guest
|
I think this post was lost in a "Reply To All", because if i'd think just ignored... , hence:
This thread has some months, but the SDLActivity.java seems to apply yet, more goodies here about android full setup too: https://forums.libsdl.org/viewtopic.php?p=43521&sid=806fdcebbce94a79c03e2fcfacf1cbab If it compiles, review logcat in an adb shell. Agakisev talks about LOADING dependecy not compiling dependency. App would fault loading Mixer without loading mikmod first.This is how it is currently, though Mixer should have the info to load itself its own dependencies, Android or SDL??? The mentioned "Android Bits" thread, is exactly a howto about all that JMBC |
|||||||||||
|