See https://github.com/termux/termux-packages/issues/1736
- Just unset LD_LIBRARY_PATH in the dalvikvm wrapper. - Let the dalvikvm wrapper setup $ANDROID_DATA. - Avoid using a custom dalvikvm wrapper in dx.