GithubHelp home page GithubHelp logo

batchjs2dex's Introduction

so中执行js, 可以参考此仓库 autojsNativeJs

webpack打包多个autojs的js文件为一个js文件, 可以参考此仓库 webpack-autojs

该仓库目的是将autojs编写的js文件转为dex文件

环境要求

  1. java 要用java
  2. android studio 要用dx

步骤

  1. 当前仓库根目录执行 node index.js

备注

  1. 步骤:js -> Class -> Dex
  2. config.js中配置dx的绝对路径
  3. jsList文件夹放js文件
  4. 生成的class以及dex就在jsList文件夹里

注意

如果js中有let, 请使用var代替, 否则报错.

如果class不能转dex, 看看下面的帖子

简书: http://www.jianshu.com/p/77db2ea8098f

CSDN博客: http://blog.csdn.net/qq_32115439/article/details/79307325

GitHub博客: http://lioil.win/2018/02/10/Java-JDK9-class-path.html

batchjs2dex's People

Contributors

snailuncle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.