Targeting a different SDK and API on Android

Previous topic - Next topic

spicypixel

I seem to be doing my own personal Android flooding here at the moment :) However I'd very much like to know how I can target SDK 16 instead of the default SDK8 API 2.2. I have updated the SDK's within the pre-installed Android SDK that comes with GLB12 and having changed glb_build.bat to reference 16 as my target and then being prompted to download Apache Ant, which I did and extracted in the ant folder. I managed to reduce my errors however still no SDK upgrade working.

I have since removed the ant files that were extracted and set the SDK back to 8 in glb_build.bat but can't now compile there either so a reinstall of glb12 is needed now it would seem :)

Before I start messing about with things I don't understand again lol, can someone give me some tips or better still a walkthrough of how I can achieve this. I'm hoping to use SDK 16 to see if it fixes sound latency with 4.1.2 instead of the default 2.2 api.

Many Thanks in advance O' wondrous community :D
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Ian Price

Follow the FiveSprites/SpaceFractal's Android Extras forum - it walks you through the installation process so that you can use 14 and 16 with GLB. I'm a complete Android noob/idiot and even I got it working for OUYA. You should have no trouble.
I came. I saw. I played.

spicypixel

Quote from: Ian Price on 2013-Nov-20
Follow the FiveSprites/SpaceFractal's Android Extras forum - it walks you through the installation process so that you can use 14 and 16 with GLB. I'm a complete Android noob/idiot and even I got it working for OUYA. You should have no trouble.

Hi Ian I have found the Android Extras page (albeit saying it ONLY works for v11) however I see no information regarding SDK API upgrade usage :-( Do you have a direct link?
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

Ian Price

The FULL Android extras package comes with everything you need to use with GLBasic (IIRC it was a really hefty file that took quite some time to download). You can just download the basic package if you wish (the DROPBOX one), as I believe the NDK isn't required with Android Extras & GLB anymore. If you need the Android SDK (and it MUST be 14 or 16 for OUYA or Android 4.XX) then you can download it here - http://developer.android.com/sdk/index.html

I remember having a bit of a problem after installing 14 (nothing to do with AE), but it was something easily sorted. I just can't remember what it actually was now though. If you come up against anything it is definitely mentioned on the forums.

Android Extras isn't the solution to life, the universe and everything and there are issues, as well as needing to do some things very differently (media).

There's a massive amount I don't know or understand about it, but for the most part I haven't had to worry too much. The only real difficulty I've had has been trying to add IAP to my OUYA app - partly due to my own dumb brain and a small bit of information missing from the IAP topic (I've added to it now, so as to prevent SpaceFractal being inundated with PMs, like mine - honestly, that guy is a saint - I've PM'd him a dozen times today already!).
I came. I saw. I played.

spicypixel

Quote from: Ian Price on 2013-Nov-27
The FULL Android extras package comes with everything you need to use with GLBasic (IIRC it was a really hefty file that took quite some time to download). You can just download the basic package if you wish (the DROPBOX one), as I believe the NDK isn't required with Android Extras & GLB anymore. If you need the Android SDK (and it MUST be 14 or 16 for OUYA or Android 4.XX) then you can download it here - http://developer.android.com/sdk/index.html

I remember having a bit of a problem after installing 14 (nothing to do with AE), but it was something easily sorted. I just can't remember what it actually was now though. If you come up against anything it is definitely mentioned on the forums.

Android Extras isn't the solution to life, the universe and everything and there are issues, as well as needing to do some things very differently (media).

There's a massive amount I don't know or understand about it, but for the most part I haven't had to worry too much. The only real difficulty I've had has been trying to add IAP to my OUYA app - partly due to my own dumb brain and a small bit of information missing from the IAP topic (I've added to it now, so as to prevent SpaceFractal being inundated with PMs, like mine - honestly, that guy is a saint - I've PM'd him a dozen times today already!).

Awesome Ian, thanks for the reply, I have the http://dl.dropboxusercontent.com/u/3236515/Android_Api14%2B16_glbasic_v5.zip file now and Im guessing things are just copied over???
http://www.spicypixel.net | http://www.facebook.com/SpicyPixel.NET

Comps Owned - ZX.81, ZX.48K, ZX.128K+2, Vic20, C64, Atari-ST, A500.600.1200, PC, Apple Mini-Mac.

spacefractal

Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/