2015-12-02 12:32:11 +01:00
|
|
|
#!/bin/sh
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
|
|
|
|
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
|
|
|
|
mkdir -p $ANDROID_DATA/dalvik-cache
|
|
|
|
|
2016-04-11 02:20:17 +02:00
|
|
|
exec dalvikvm -Xmx256m \
|
|
|
|
-Djava.io.tmpdir=@TERMUX_PREFIX@/tmp \
|
|
|
|
-cp @TERMUX_PREFIX@/share/dex/jack.jar com.android.jack.Main \
|
|
|
|
-cp @TERMUX_PREFIX@/share/jack/android.jack \
|
|
|
|
-D jack.library.digest.algo=MD5 -D sched.vfs.case-insensitive.algo=MD5 \
|
|
|
|
-D jack.annotation-processor=off \
|
|
|
|
--output-dex=`pwd` \
|
|
|
|
$@
|