SDL2 with android and the new anrdoid studio

Is anyone on this list currently building android apps from SDL2 with the
new android studio? There seems to have been some changes to the way
android is built with studio vs eclipse. If anyone has any experience w/
this new setup mind pinging back?

When I last checked in six months ago, gradle and android studio were not up to the task of working on mostly native android projects.

I have had the highest productivity working with the NVidia Tegra tools, an NVidia Shield and Visual Studio 2013 or 2012 (doesn’t matter which).

I then deploy my sdk project for more architectures using ndk-build and ant.

Michael Labb?> On Aug 20, 2015, at 12:40 PM, Owen Alanzo Hogarth wrote:

Is anyone on this list currently building android apps from SDL2 with the new android studio? There seems to have been some changes to the way android is built with studio vs eclipse. If anyone has any experience w/ this new setup mind pinging back?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I didn’t even think about NVidia Tegra tools, I don’t have a pc so the
visual studio workflow is a non starter for me. I will look into the NVidia
tools and see if I can get that to work. Thanks for the tip.On Fri, Aug 21, 2015 at 3:56 AM, Michael Labb? wrote:

When I last checked in six months ago, gradle and android studio were not
up to the task of working on mostly native android projects.

I have had the highest productivity working with the NVidia Tegra tools,
an NVidia Shield and Visual Studio 2013 or 2012 (doesn’t matter which).

I then deploy my sdk project for more architectures using ndk-build and
ant.

Michael Labb?

On Aug 20, 2015, at 12:40 PM, Owen Alanzo Hogarth <@Owen_Alanzo_Hogarth> wrote:

Is anyone on this list currently building android apps from SDL2 with
the new android studio? There seems to have been some changes to the way
android is built with studio vs eclipse. If anyone has any experience w/
this new setup mind pinging back?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I contacted one Google’s developer relations people, and unfortunately
Android Studio still doesn’t support subprojects which build libraries.
I personally thought it better to wait, than to fudge it.On 20/08/2015 21:23, Owen Alanzo Hogarth wrote:

I didn’t even think about NVidia Tegra tools, I don’t have a pc so the
visual studio workflow is a non starter for me. I will look into the
NVidia tools and see if I can get that to work. Thanks for the tip.

On Fri, Aug 21, 2015 at 3:56 AM, Michael Labb? <mike at frogtoss.com <mailto:mike at frogtoss.com>> wrote:

When I last checked in six months ago, gradle and android studio
were not up to the task of working on mostly native android projects.

I have had the highest productivity working with the NVidia Tegra
tools, an NVidia Shield and Visual Studio 2013 or 2012 (doesn't
matter which).

I then deploy my sdk project for more architectures using
ndk-build and ant.

Michael Labb?

> On Aug 20, 2015, at 12:40 PM, Owen Alanzo Hogarth <gurenchan at gmail.com <mailto:gurenchan at gmail.com>> wrote:
>
> Is anyone on this list currently building android apps from SDL2
with the new android studio? There seems to have been some changes
to the way android is built with studio vs eclipse. If anyone has
any experience w/ this new setup mind pinging back?
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Best,
Gorm Lai
Founder of Kotori Studios Ltd
@kotoristudios, @gormlai

Yes, kind of…
I build SDL into library conforming to the Android NDK_MODULE
convention. (I’ve posted about this before on the list.)

At this point, it doesn’t really matter what you use for the final
mile for your app, though I moved to Android Studio because it was
clear Google was dropping Eclipse/Ant and installing Ant dependencies
started becoming an ordeal for me on latest Mac. At the time, it had
no NDK support, so I hacked up my own Groovy/Gradle scripts to the
right thing for the NDK half of the build. I’m actually using CMake
for everything which makes it easy to support a ton of platforms with
a single build description, so my scripts call out to CMake coordinate
between the NDK/SDK halves. Then Android Studio does the rest of its
normal stuff for the SDK, signing, and packaging.

-EricOn 8/20/15, Owen Alanzo Hogarth wrote:

Is anyone on this list currently building android apps from SDL2 with the
new android studio? There seems to have been some changes to the way
android is built with studio vs eclipse. If anyone has any experience w/
this new setup mind pinging back?

sorry for offtopic: do you use an android toolchain or do you use ndkbuild and use cmake just to generate the Andeoid.mk files? do you habe a link? my current cmake solution can be found in the link in my signature

http://www.caveproductions.org> Am 21.08.2015 um 03:19 schrieb Eric Wing :

On 8/20/15, Owen Alanzo Hogarth wrote:
Is anyone on this list currently building android apps from SDL2 with the
new android studio? There seems to have been some changes to the way
android is built with studio vs eclipse. If anyone has any experience w/
this new setup mind pinging back?

Yes, kind of…
I build SDL into library conforming to the Android NDK_MODULE
convention. (I’ve posted about this before on the list.)

At this point, it doesn’t really matter what you use for the final
mile for your app, though I moved to Android Studio because it was
clear Google was dropping Eclipse/Ant and installing Ant dependencies
started becoming an ordeal for me on latest Mac. At the time, it had
no NDK support, so I hacked up my own Groovy/Gradle scripts to the
right thing for the NDK half of the build. I’m actually using CMake
for everything which makes it easy to support a ton of platforms with
a single build description, so my scripts call out to CMake coordinate
between the NDK/SDK halves. Then Android Studio does the rest of its
normal stuff for the SDK, signing, and packaging.

-Eric


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

@Eric

I currently build SDL with cmake as well, I haven’t really used much of
android studio since I mostly do command line builds and what not. Is it
fairly straight forward to have gradle work nicely with cmake?On Fri, Aug 21, 2015 at 9:19 AM, Eric Wing wrote:

On 8/20/15, Owen Alanzo Hogarth <@Owen_Alanzo_Hogarth> wrote:

Is anyone on this list currently building android apps from SDL2 with the
new android studio? There seems to have been some changes to the way
android is built with studio vs eclipse. If anyone has any experience w/
this new setup mind pinging back?

Yes, kind of…
I build SDL into library conforming to the Android NDK_MODULE
convention. (I’ve posted about this before on the list.)

At this point, it doesn’t really matter what you use for the final
mile for your app, though I moved to Android Studio because it was
clear Google was dropping Eclipse/Ant and installing Ant dependencies
started becoming an ordeal for me on latest Mac. At the time, it had
no NDK support, so I hacked up my own Groovy/Gradle scripts to the
right thing for the NDK half of the build. I’m actually using CMake
for everything which makes it easy to support a ton of platforms with
a single build description, so my scripts call out to CMake coordinate
between the NDK/SDK halves. Then Android Studio does the rest of its
normal stuff for the SDK, signing, and packaging.

-Eric


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Has there been any advancement in this? Is Android Studio any more ready to support NDK and SDL2? Getting my SDL2 programs to run on android using Eclipse seemed excessively convoluted, but perhaps that’s how all native is on android. Does Android Studio seem any simpler?

ace491 wrote:

Has there been any advancement in this? Is Android Studio any more ready to support NDK and SDL2? Getting my SDL2 programs to run on android using Eclipse seemed excessively convoluted, but perhaps that’s how all native is on android. Does Android Studio seem any simpler?

I haven’t heard anything and I keep nosing around the Android Developer and Gradle forum. Seems to be taking quite a while. AS looked better to me - Eclipse takes forever to load - but I have just left my Android development until last given the current situation. I’m working on a new cross-plaform app so I would like to use it, but its just not ready and there’s little support if you get stuck. Microsoft’s VS2015 is worth a look with its Android support though.

Yeah I had a stackoverflow question about vs2015 setup, used to have a 500 point bounty but it expired:

http://stackoverflow.com/questions/36147257/how-do-i-set-up-visual-studio-2015-with-sdl2-for-android-ios-and-windows-develSent from my iPhone

On Apr 7, 2016, at 9:46 PM, SparkyNZ wrote:

ace491 wrote:
Has there been any advancement in this? Is Android Studio any more ready to support NDK and SDL2? Getting my SDL2 programs to run on android using Eclipse seemed excessively convoluted, but perhaps that’s how all native is on android. Does Android Studio seem any simpler?

I haven’t heard anything and I keep nosing around the Android Developer and Gradle forum. Seems to be taking quite a while. AS looked better to me - Eclipse takes forever to load - but I have just left my Android development until last given the current situation. I’m working on a new cross-plaform app so I would like to use it, but its just not ready and there’s little support if you get stuck. Microsoft’s VS2015 is worth a look with its Android support though.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org