Update latest android platform and build-tools
This commit is contained in:
parent
444db6aade
commit
ca5ead6780
@ -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
|
||||
|
@ -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 .
|
||||
|
2
packages/ecj4.6/build.sh
vendored
2
packages/ecj4.6/build.sh
vendored
@ -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 .
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user