APKRepatcher icon indicating copy to clipboard operation
APKRepatcher copied to clipboard

Issue while building project 3

Open Janluke0 opened this issue 6 years ago • 0 comments

Hi, wheni build an apk (with out editing it) the resulted apk is identical to the orginal. that's the output in the GUI console.

Started packaging jar at C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedJar\classes.jar jar vfu C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedJar\classes.jar * aggiunta in corso di: com/(in = 0) (out = 0)(memorizzato 0%) aggiunta in corso di: com/sitael/(in = 0) (out = 0)(memorizzato 0%) aggiunta in corso di: com/Y/(in = 0) (out = 0)(memorizzato 0%) aggiunta in corso di: com/Y/SmartVendingApplication.java(in = 21138) (out = 2489)(compresso 88%) Process completed successfully Jar packaging complete Converting the new jar into dex java -Xmx1500m -cp .;C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\APKRepatcher_lib\dex* com.cooltrickshome.helper.RunProgramDex jar2Dex C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedJar\classes.jar C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedDex\classes.dex jar2dex C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedJar\classes.jar -> C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedDex\classes.dex call com.android.dx.command.Main.main[--dex, --no-strict, --output=C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedDex\classes.dex, C:\Users\Janluke\Documents\XXXXXX HACK\APKRepatcher\Projects\XXXXXX_com.Y.apk\modifiedJar\classes.jar] Process completed successfully Converted the new jar into dex Rewriting the dex into apk

at that point a popup appear with the same message as this issue title.

that's the output running the jar from command line

java.lang.ArrayIndexOutOfBoundsException: 3 at net.lingala.zip4j.util.Raw.readShortLittleEndian(Raw.java:57) at net.lingala.zip4j.core.HeaderReader.readExtraDataRecords(HeaderReader.java:471) at net.lingala.zip4j.core.HeaderReader.readAndSaveExtraDataRecord(HeaderReader.java:420) at net.lingala.zip4j.core.HeaderReader.readCentralDirectory(HeaderReader.java:338) at net.lingala.zip4j.core.HeaderReader.readAllHeaders(HeaderReader.java:94) at net.lingala.zip4j.core.ZipFile.readZipInfo(ZipFile.java:425) at net.lingala.zip4j.core.ZipFile.removeFile(ZipFile.java:781) at com.cooltrickshome.Utility.rewriteDexInAPK(Utility.java:159) at com.cooltrickshome.APKRepatcher$24$1.doInBackground(APKRepatcher.java:1713) at com.cooltrickshome.APKRepatcher$24$1.doInBackground(APKRepatcher.java:1) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

I would have liked to debug this but i have not too much esperience in java and i can't build it properly. If you can show me how maybe i can help you to fix this issue.

I can share the apk in a private way. If you need other information just ask. Thanks.

Janluke0 avatar Feb 19 '19 16:02 Janluke0