The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 Android build issue
Naith


Joined: 03 Jul 2014
Posts: 158
Hi there!

I'm trying to build a android project with Eclipse. I've followed the instructions on this page: http://www.dinomage.com/2013/01/howto-sdl-on-android/
I've successfully compiled / build the project with the ndk-build - script and have also created a project in Eclipse with the "Android Project from Existing Code" - option but when it has been properly build I got some errors, which makes it impossible for me to run and test my program.

I've included an image showing the errors (and warnings) being shown in Eclipse. Image: http://i.imgur.com/xhWr3kj.png

Is there an error I've made during the build of the project or is there an error / a problem in the SDL java-files I've downloaded from the website?

Kind regards
Naith


Joined: 03 Jul 2014
Posts: 158
Anyone?

Sorry for bumping this but I really can't solve the issue and error message(s). I can't be the only one having this problem. Right? Embarrassed
SDL2 Android build issue
gabomdq


Joined: 28 Jul 2011
Posts: 495
Location: Argentina
See http://hg.libsdl.org/SDL/file/tip/README-android.txt : Why is API level 10 the minimum required?

It looks like you are building with an API level < 12



2014-07-18 14:47 GMT-03:00 Naith:
Quote:
Anyone?

Sorry for bumping this but I really can't solve the issue and error message(s). I can't be the only one having this problem. Right?


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





--
Gabriel.
Naith


Joined: 03 Jul 2014
Posts: 158
I'm using API level 15 now but it still doesn't work. And by that I mean that the same error messages is being shown.