SDL2 Android build issue

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 succesfully 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 builded I got some errors, which makes it impossible for me to run the 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[/img]

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

Anyone?

Sorry for bumping this but I really can’t solve the issue I’m having. I can’t be the only one with this problem. Right? [Embarassed]

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?

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? [Embarassed]

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 :> 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
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Gabriel.

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.