Comments (8)
Please any one help me this is major issue in my Development.....! How to solve.....!
How to convert JAR to DEX (dex2jar-2.0)
I have two type of error.
-
no classfiles specified.
-
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.android.dx.ssa.SsaRenamer$BlockRenamer.updateSuccessorPhis(SsaRenamer.java:629)
at com.android.dx.ssa.SsaRenamer$BlockRenamer.process(SsaRenamer.java:376)
at com.android.dx.ssa.SsaRenamer$1.visitBlock(SsaRenamer.java:167)
at com.android.dx.ssa.SsaMethod.forEachBlockDepthFirstDom(SsaMethod.java:813)
at com.android.dx.ssa.SsaRenamer.run(SsaRenamer.java:164)
at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:53)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:99)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:273)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:134)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:87)
at com.android.dx.command.dexer.Main.processClass(Main.java:483)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
at com.android.dx.command.dexer.Main.access$400(Main.java:67)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:418)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
at com.android.dx.command.dexer.Main.run(Main.java:206)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.googlecode.dex2jar.tools.Jar2Dex.doCommandLine(Jar2Dex.java:99)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
at com.googlecode.dex2jar.tools.Jar2Dex.main(Jar2Dex.java:32)
from dex2jar.
My development working flow...
Steps:
- dex to jar
- jar to jasmin
3 ) view jasmin code and add some development functionality - jasmin to jar
- jar to dex .
4th setp i have error:(jasmin to jar )
java.lang.NullPointerException
at com.googlecode.d2j.jasmin.JasminParser.unEscape(JasminParser.java:356)
at com.googlecode.d2j.jasmin.JasminParser.sField(JasminParser.java:5672)
at com.googlecode.d2j.jasmin.JasminParser.sFile(JasminParser.java:1062)
at com.googlecode.d2j.jasmin.JasminParser.parse(JasminParser.java:961)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.assemble1(Jasmin2JarCmd.java:130)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.access$0(Jasmin2JarCmd.java:121)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd$1.visitFile(Jasmin2JarCmd.java:114)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd$1.visitFile(Jasmin2JarCmd.java:1)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:135)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:199)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)
at java.nio.file.Files.walkFileTree(Files.java:2602)
at java.nio.file.Files.walkFileTree(Files.java:2635)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.travelFileTree(Jasmin2JarCmd.java:110)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.assemble0(Jasmin2JarCmd.java:99)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.doCommandLine(Jasmin2JarCmd.java:92)
at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)
at com.googlecode.d2j.jasmin.Jasmin2JarCmd.main(Jasmin2JarCmd.java:56)
from dex2jar.
me too.
I use it that happened error
call com.android.dx.command.Main.main[--dex, --no-strict, --output=]
no classfiles specified
from dex2jar.
I was also trying this on the mac but it works perfectly in Windows is running dex2jar, May you try it.
from dex2jar.
same issue 6 years later lol
from dex2jar.
See #544
If it still does not work, assign more RAM: https://stackoverflow.com/questions/1565388/increase-heap-size-in-java
from dex2jar.
See #544 If it still does not work, assign more RAM: https://stackoverflow.com/questions/1565388/increase-heap-size-in-java
thanks for the quick reply.
I've already tried assigning more ram by following this guide:
https://helpdeskgeek.com/help-desk/how-to-fix-could-not-create-the-java-virtual-machine-error/#:~:text=The%20most%20common%20cause%20for,to%20launch%20the%20VM%20client.
However, he has followed another approach telling java to use more RAM (which in my case didn't resolve the issue),
so I'll try the way described in your linked stackoverflow question.
cheers
from dex2jar.
-Xmx512M
might not be enough. I always try using my PC's amount of RAM divided by 2. If you have 32 GB, it will surely be slower, but you will surely have enough allocated. Thus, I use -Xmx16G
from dex2jar.
Related Issues (20)
- d2jar error HOT 1
- GLITCH: 0003 LBuilder;.testDeadEndTry(I)I | not enough space for reading instruction HOT 2
- READ THIS **BEFORE** CREATING ISSUES!
- java.lang.NullPointerException HOT 1
- Build failing: trying to load from wrong JRE... HOT 1
- com.googlecode.d2j.DexException: fail convert code for
- java.lang.ClassCastException: class com.googlecode.dex2jar.ir.expr.InvokePolymorphicExpr cannot be cast to class com.googlecode.dex2jar.ir.expr.InvokeExpr (com.googlecode.dex2jar.ir.expr.InvokePolymorphicExpr and com.googlecode.dex2jar.ir.expr.InvokeExpr are in unnamed module of loader 'app') HOT 1
- READ THIS **BEFORE** CREATING ISSUES!
- Detail Error Information in File .\jioJoin-error.zip Please report this file HOT 3
- Dex2Jar issue A13 HOT 2
- READ THIS **BEFORE** CREATING ISSUES! HOT 1
- Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded HOT 1
- jar2dex min sdk version issue HOT 4
- decompile wechat8.0.32 error HOT 1
- E:\resources\classes2.dex
- IndexOutOfBoundsException had happened in using dex-tools-v2.4 tool to decode jar package HOT 1
- java.lang.RuntimeException: fail exe a8 = a3 HOT 1
- error on decompiling HOT 1
- Detail Error Information in File .\00O000ll111l_0-error.zip HOT 1
- 变异过程中遇到的错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dex2jar.