apk ファイルからソースコードを抽出したい。その目的のために、ネットで指定されたリンクを参照しましたが、コマンド プロンプトで dex2jar classes.dex を実行しているときに、「VM の初期化中にエラーが発生しました。オブジェクト ヒープに十分なスペースを確保できませんでした。JVM を作成できませんでした」というメッセージが表示されます。ガイドしてください。このエラーを克服する方法を教えてください。
2303 次
2 に答える
-2
ソース コードには 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
于 2012-05-14T10:06:57.130 に答える