Android Studio configuration super practical java to smali plug-in

One, simple description of java2smali

The java2smali plugin is a very useful plugin on Android Studio. The plug-in can convert Java or Kotlin source files into smali files. Using this plugin can facilitate us to do the following things:

(1), compare java source files to learn smali grammar

(2) Smali instrumentation during apk repacking

Two, plug-in installation graphic tutorial

(1). Click the Android Studio menu "File->Settings..." in turn to open the "Settings" dialog box. As follows:

Picture 1:image

Figure II:image

Figure 3:

image

(2) Click the "Plugins" option in the "Settings" dialog box, and then click the input box in the "Marketplace" item and enter "java2smali" to search for plug-ins. As follows:

image

(3) After the plug-in is searched out, click "Install" to install it. As follows:

image

(4) After the installation is complete, restart Android Studio. You can see the "Compile to Smali" function item in "Build". As follows:

image

Three, java to smali effect demonstration

Open any java file in Android Studio, then click "Build->Compile to Smali", after a while, you can see the smali file corresponding to the java file. As follows:

Picture 1: imagePicture 2:

image

Figure 3:image

The big guys keep a concern before leaving, and follow-up wonderful articles continueimage

image

Guess you like

Origin blog.csdn.net/u011426115/article/details/112855820