Update latest android platform and build-tools

This commit is contained in:
Fredrik Fornwall 2019-01-27 09:02:45 +01:00
parent 444db6aade
commit ca5ead6780
5 changed files with 5 additions and 5 deletions

View File

@ -323,7 +323,7 @@ termux_step_make_install () {
rm -rf android-jar
mkdir android-jar
cd android-jar
cp $ANDROID_HOME/platforms/android-27/android.jar .
cp $ANDROID_HOME/platforms/android-28/android.jar .
unzip -q android.jar
mkdir -p $TERMUX_PREFIX/share/aapt
jar cfM $TERMUX_PREFIX/share/aapt/android.jar AndroidManifest.xml resources.arsc

View File

@ -51,7 +51,7 @@ termux_step_make () {
cd android-jar
# We need the android classes for JDT to compile against.
cp $ANDROID_HOME/platforms/android-27/android.jar .
cp $ANDROID_HOME/platforms/android-28/android.jar .
unzip -q android.jar
rm -Rf android.jar resources.arsc res assets
jar cfM android.jar .

View File

@ -51,7 +51,7 @@ termux_step_make () {
cd android-jar
# We need the android classes for JDT to compile against.
cp $ANDROID_HOME/platforms/android-27/android.jar .
cp $ANDROID_HOME/platforms/android-28/android.jar .
unzip -q android.jar
rm -Rf android.jar resources.arsc res assets
jar cfM android.jar .

View File

@ -1,5 +1,5 @@
TERMUX_NDK_VERSION=18
TERMUX_ANDROID_BUILD_TOOLS_VERSION=28.0.2
TERMUX_ANDROID_BUILD_TOOLS_VERSION=28.0.3
test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc"

View File

@ -43,4 +43,4 @@ fi
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
# The android-21 platform is used in the ecj package:
yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;${TERMUX_ANDROID_BUILD_TOOLS_VERSION}" "platforms;android-27" "platforms;android-21"
yes | $ANDROID_HOME/tools/bin/sdkmanager "platform-tools" "build-tools;${TERMUX_ANDROID_BUILD_TOOLS_VERSION}" "platforms;android-28" "platforms;android-21"