termux-packages/packages/dx/dalvikvm-wrapper
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

9 lines
261 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
# Reset LD_LIBRARY_PATH to avoid shared library clashes:
LD_LIBRARY_PATH=/system/lib dalvikvm $@