d8-termux
v1.0.0
Published
Provides the d8 dex tool for use in Termux
Readme
D8 Termux
This package provides easy installation of the d8 android dex tool for use in Termux.
Installation and use outside termux is discouraged and will not work.
Install
Make sure you have nodejs installed (pkg install nodejs) and run:
$ npm install -g d8-termuxNote: This is not an actual JavaScript package, we just use npm for easy installation but the resulting d8 executable is just a shell wrapper running the shipped d8.jar no JavaScript is ran in the process.
Usage
npm will automatically include a global symlink to the wrapper so you can just use the d8 command.
$ d8 --versionIf it outputs the version you are good to go.,
Use from code,
If for some very strange reason you decide to install it locally then require()ing this package will just return the path to the dexed d8.jar
> require("d8-termux");
// => '/data/data/com.termux/files/usr/lib/node_modules/d8-termux/d8.jar'