You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
514 B
15 lines
514 B
#!/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
|
|
|
|
LD_LIBRARY_PATH=/system/lib \
|
|
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` \
|
|
$@
|
|
|