0
私はApktoolsをウェブサイトからダウンロードして、Apktool.txtとApktool_2.2.2という2つのファイルを取得しました。 Apktool_2.2.2の名前をApktools.jarに変更しました。私はターミナルに行きました。これは私がやったことでした:MacでApktools
Last login: Fri Mar 17 12:08:55 on ttys000
Roberts-MBP:~ Robert$ cd documents
Roberts-MBP:documents Robert$ cd metronomeapp/apktool
Roberts-MBP:apktool Robert$ **java -jar apktool.jar**
Apktool v2.2.2 - a tool for reengineering Android apk files
with smali v2.1.3 and baksmali v2.1.3
Copyright 2014 Ryszard Wiśniewski <[email protected]>
Updated by Connor Tumbleson <[email protected]>
usage: apktool
-advance,--advanced prints advance information.
-version,--version prints the version then exits
usage: apktool if|install-framework [options] <framework.apk>
-p,--frame-path <dir> Stores framework files into <dir>.
-t,--tag <tag> Tag frameworks using <tag>.
usage: apktool d[ecode] [options] <file_apk>
-f,--force Force delete destination directory.
-o,--output <dir> The name of folder that gets written. Default is apk.out
-p,--frame-path <dir> Uses framework files located in <dir>.
-r,--no-res Do not decode resources.
-s,--no-src Do not decode sources.
-t,--frame-tag <tag> Uses framework files tagged by <tag>.
usage: apktool b[uild] [options] <app_path>
-f,--force-all Skip changes detection and build all files.
-o,--output <dir> The name of apk that gets written. Default is dist/name.apk
-p,--frame-path <dir> Uses framework files located in <dir>.
For additional info, see: http://ibotpeaches.github.io/Apktool/
For smali/baksmali info, see: https://github.com/JesusFreke/smali
Roberts-MBP:apktool Robert$ **./apktool d metronome.apk**
-bash: ./apktool: No such file or directory
Roberts-MBP:apktool Robert$ **apktool d metronome.apk**
-bash: apktool: command not found
Roberts-MBP:apktool Robert$
私は何を入力したかを見ることができます。 2番目と3番目の大胆なステートメントでは、私はそれらのうちの1つがWindows上で動作し、1つがMac上で動作し、Macが動作しなかったという情報が見つかったので、両方の方法でそれを行いました。 。両方のファイルは、apkファイル(metronome.apk)と同じディレクトリにあります。なぜこれが動作していないのか、それを解決するために何ができるのか誰にも分かりますか?
ありがとうございました。 ロバート
お試しください 'java -jar apktool.jar d metronome.apk' –
恐ろしいです!これはうまくいった。 – Rob26br
あなたが望むなら、答えに印をつけてください。だからこそ、質問に答えるコメントに目をつぶってしまう。 –