build-scripts/androidbuild.sh
changeset 9823 9fb8a612dd7c
parent 7974 8af2b2344e9e
child 10200 c678dcec4f44
equal deleted inserted replaced
9822:371d82c6bf94 9823:9fb8a612dd7c
   113 echo "import org.libsdl.app.SDLActivity;" >> "$ACTIVITY.java"
   113 echo "import org.libsdl.app.SDLActivity;" >> "$ACTIVITY.java"
   114 echo "public class $ACTIVITY extends SDLActivity {}" >> "$ACTIVITY.java"
   114 echo "public class $ACTIVITY extends SDLActivity {}" >> "$ACTIVITY.java"
   115 
   115 
   116 # Update project and build
   116 # Update project and build
   117 cd $BUILDPATH
   117 cd $BUILDPATH
   118 android update project --path $BUILDPATH
   118 $ANDROID update project --path $BUILDPATH
   119 $NDKBUILD -j $NCPUS $NDKARGS
   119 $NDKBUILD -j $NCPUS $NDKARGS
   120 $ANT debug
   120 $ANT debug
   121 
   121 
   122 cd $CURDIR
   122 cd $CURDIR
   123 
   123