Android 初始化VM时出错
我想从apk文件中提取源代码。 出于这个目的,我引用了一个在网络上给出的链接 “在VM初始化期间发生错误 无法为对象堆保留足够的空间 无法创建JVM“Android 初始化VM时出错,android,jvm,Android,Jvm,我想从apk文件中提取源代码。 出于这个目的,我引用了一个在网络上给出的链接 “在VM初始化期间发生错误 无法为对象堆保留足够的空间 无法创建JVM“ 请指导我如何克服此错误。对于源代码,您需要2个工具 i) dex2jar ii) jd-gui 要使用此工具,您需要一个.apk文件 step 1 : Right click on that .apk file and convert it into .zip step 2: unZip that file then take cla
请指导我如何克服此错误。对于源代码,您需要2个工具
i) dex2jar
ii) jd-gui
要使用此工具,您需要一个.apk文件
step 1 : Right click on that .apk file and convert it into .zip
step 2: unZip that file then take classes.dex from this unzip folder
step 3: Go to cmd then go to the path of dex2jar folder like D:\dex2jar tools\dex2jar-0.0.9.8\dex2jar-0.0.9.8
step 4: write dex2jar classes.dex
step 5: press Enter
step 6: then see in path D:\dex2jar tools\dex2jar-0.0.9.8\dex2jar-0.0.9.8 you can see a .zip file of classes then unzip and
step 7 : import that files in jd-gui software
对于源代码,您需要2个工具
i) dex2jar
ii) jd-gui
要使用此工具,您需要一个.apk文件
step 1 : Right click on that .apk file and convert it into .zip
step 2: unZip that file then take classes.dex from this unzip folder
step 3: Go to cmd then go to the path of dex2jar folder like D:\dex2jar tools\dex2jar-0.0.9.8\dex2jar-0.0.9.8
step 4: write dex2jar classes.dex
step 5: press Enter
step 6: then see in path D:\dex2jar tools\dex2jar-0.0.9.8\dex2jar-0.0.9.8 you can see a .zip file of classes then unzip and
step 7 : import that files in jd-gui software
编辑文件夹中的文件dex2jar.bat。更改此项:
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.v3.Main" %*
内存设置应该更小。编辑文件夹中的文件dex2jar.bat。更改此项:
java -Xms512m -Xmx1024m -cp %CLASSPATH% "com.googlecode.dex2jar.v3.Main" %*
内存设置应该更小。OP询问的是错误“VM初始化期间发生的错误无法为对象堆保留足够的空间无法创建JVM”,而不是反编译步骤SOP询问的错误“VM初始化过程中出现错误,无法为对象堆保留足够的空间,无法创建JVM”,而不是反编译步骤