termux-packages/packages/jack/jack.sh
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

11 lines
334 B
Bash
Executable File

#!/system/bin/sh
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
mkdir -p $ANDROID_DATA/dalvik-cache
JACK_JAR=@TERMUX_PREFIX@/share/dex/jack.jar
ANDROID_JAR=@TERMUX_PREFIX@/share/jack/android.jack
dalvikvm -Xmx256m -cp $JACK_JAR com.android.jack.Main -cp $ANDROID_JAR $@