With a fresh install of the android SDK and NDK, and latest SDL from
mercurial, I am unable to build the android test example as given in the
’Building an app’ section of README-android.txt, using androidbuild.sh.
The problem is an invalid target. To cut a long story short, the problem
is that the SDL android project targets android-12, but the SDK I
downloaded includes androids 10, 14 and 19. I can fix the problem by
targeting android-14 in project.properties and AndroidManifest.xml. SDL
won’t build targetting android-10.
I can also solve the problem by installing android-12 from the Android
SDK Manager in the ADT version of Eclipse.
Did I do something wrong, or should the default target be changed, or
should README-android.txt be updated to note that android-12 isn’t
installed by default and is required?
For me, I just have API 15 and 16 installed due to the devices that I am using. I did what you have done and changed to ‘android-15’ in the
project.properties file. So far I haven’t had any issues.
You last question is valid, perhaps someone more knowledgeable can answer that.
Cheers,
AlvinOn 07/03/14 03:03, Tony Park wrote:
With a fresh install of the android SDK and NDK, and latest SDL from mercurial, I am unable to build the android test example as given in the
’Building an app’ section of README-android.txt, using androidbuild.sh.
The problem is an invalid target. To cut a long story short, the problem is that the SDL android project targets android-12, but the SDK I downloaded
includes androids 10, 14 and 19. I can fix the problem by targeting android-14 in project.properties and AndroidManifest.xml. SDL won’t build
targetting android-10.
I can also solve the problem by installing android-12 from the Android SDK Manager in the ADT version of Eclipse.
Did I do something wrong, or should the default target be changed, or should README-android.txt be updated to note that android-12 isn’t installed by
default and is required?