Coder Social home page Coder Social logo

t-gao / intellij-java2smali Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ollide/intellij-java2smali

0.0 2.0 0.0 8.03 MB

A plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.

License: MIT License

Kotlin 100.00%

intellij-java2smali's Introduction

intellij-java2smali

Travis Build Status AppVeyor Build status Quality Gate status

Simple plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.

Have you ever compiled and packaged a dummy Android application just to grab some Java sources in smali? Stop that! Transforming Java to smali just got easier.

Usage

  1. create or open a Java source file with your desired functionality
  2. click 'Build' and 'Compile to smali'
  3. wait while IDEA's indicating the compilation process
  4. the smali file is opened automatically in your editor

java2smali usage gif

Installation

java2smali is available at JetBrains Plugin Repository and can therefore be found in your IDE's plugin manager! Alternatively, you can download the plugin from the release section.

Build From Source

This plugin uses JetBrains gradle-intellij-plugin and can easily build from source.

Clone the repository:

git clone https://github.com/ollide/intellij-java2smali.git
cd intellij-java2smali

Build the plugin with Gradle:

./gradlew buildPlugin

The plugin can be found in /build/distributions/java2smali-$VERSION.zip.

Third-Party Libraries & Credits

  • dx from the Android platform-tools is used to create a .dex version of the compiled Java (.class) file
  • baksmali โ€“ a great disassembler for Android's dex format is used to create the final .smali output file
  • intellij-emberjs โ€“ a nicely written plugin which uses the gradle-intellij-plugin with Kotlin

intellij-java2smali's People

Contributors

ollide avatar signedbit avatar

Watchers

 avatar  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.