d8-termux

1.0.0 • Public • Published

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-termux

Note: 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 --version

If 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'

Package Sidebar

Install

npm i d8-termux

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

16.8 MB

Total Files

5

Last publish

Collaborators

  • npm