I have a jar file called ScreenCapture.jar
I use http://jd.benow.ca/ what is in there. I have even downloaded jd-gui
This is what it shows me
I can see the ScreenCapture.class file. I want to edit 2 lines here
Thread.sleep(15000L);
to
Thread.sleep(60000L);
and
driver.manage().window().setSize(new Dimension(1024, 768));
to
driver.manage().window().setSize(new Dimension(1200, 800));
But this file is not editable.
My question is, how to edit it? like how to decompile it so I can edit it and then recompile it. So I can just re-upload my jar file and everything gets back to normal?
Btw, I know nothing about java, and I don't have any special application/software installed on my machine
follow these steps:
Save the source files by clicking save menu item under file. It will generate src.ip file.Then you can do whatever you want.
On your first question JD-GUI is just a viewer you need to use dex2jar to retrieve the JAR file; decompile and save the classes you need to change; import JAR and JAVA files in your Android Studio; modify; recompile and repackaged.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.