1

I'm following these instructions. This is what I've done so far:

  • Installed JDK
  • Downloaded NDK & SDK, extracted them and MOVED them to usr/src
  • Configured my $PATH
  • Ran android and now I'm installing API 15

Now I am on this step:

Edit build-scripts/androidbuild.sh, find the $ANDROID update project line, and add --target 'android-XX' to it (replace XX with your installed API number above)

Where is build-scripts/androidbuild.sh? Ran find /usr/src/ -name build-scripts/androidbuild.sh, no results. What should I do.

I just want to run my C + SDL program on android. I don't know anything about linux stuff. Any way I could accomplish this via lubuntu software center?

1

1 Answer 1

1

The file ./build-scripts/androidbuild.sh is in the source code folder of libSDL.

Look here and download the source code archive

E.G.:

wget https://libsdl.org/release/SDL2-2.0.3.tar.gz
tar xf SDL2-2.0.3.tar.gz
cd SDL2-2.0.3

After that you can see the folder build-scripts

./build-scripts/androidbuild.sh
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .