Small fixes in android build script
This commit is contained in:
parent
be58e76f41
commit
e840b15cda
@ -313,7 +313,7 @@ create_translation()
|
|||||||
CUR_LANG=$(basename -- "$PO" | cut -f 1 -d '.')
|
CUR_LANG=$(basename -- "$PO" | cut -f 1 -d '.')
|
||||||
# Skip english po file
|
# Skip english po file
|
||||||
if [ "$CUR_LANG" = "en" ]; then
|
if [ "$CUR_LANG" = "en" ]; then
|
||||||
continue
|
return
|
||||||
fi
|
fi
|
||||||
# Fix some difference in language code
|
# Fix some difference in language code
|
||||||
if [ "$CUR_LANG" = "he" ]; then
|
if [ "$CUR_LANG" = "he" ]; then
|
||||||
@ -430,11 +430,6 @@ convert -scale 216x216 "$APP_ICON_ADAPTIVE_FG" "$DIRNAME/res/drawable-xhdpi/icon
|
|||||||
convert -scale 324x324 "$APP_ICON_ADAPTIVE_FG" "$DIRNAME/res/drawable-xxhdpi/icon_fg.png"
|
convert -scale 324x324 "$APP_ICON_ADAPTIVE_FG" "$DIRNAME/res/drawable-xxhdpi/icon_fg.png"
|
||||||
convert -scale 432x432 "$APP_ICON_ADAPTIVE_FG" "$DIRNAME/res/drawable-xxxhdpi/icon_fg.png"
|
convert -scale 432x432 "$APP_ICON_ADAPTIVE_FG" "$DIRNAME/res/drawable-xxxhdpi/icon_fg.png"
|
||||||
|
|
||||||
if [ -f "/usr/lib/jvm/java-8-openjdk-amd64/bin/java" ]; then
|
|
||||||
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
|
|
||||||
export PATH=$JAVA_HOME/bin:$PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
export ANDROID_HOME="$SDK_PATH"
|
export ANDROID_HOME="$SDK_PATH"
|
||||||
./gradlew -Pcompile_sdk_version="$COMPILE_SDK_VERSION" \
|
./gradlew -Pcompile_sdk_version="$COMPILE_SDK_VERSION" \
|
||||||
-Pmin_sdk_version="$STK_MIN_ANDROID_SDK" \
|
-Pmin_sdk_version="$STK_MIN_ANDROID_SDK" \
|
||||||
|
Loading…
Reference in New Issue
Block a user