Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool
- Apktool v1.5.2 - a tool for reengineering Android apk files
- Copyright 2010 Ryszard Wi?niewski <brut.alll@gmail.com>
- with smali v1.4.1, and baksmali v1.4.1
- Updated by @iBotPeaches <connor.tumbleson@gmail.com>
- Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]
- COMMANDs are:
- d[ecode] [OPTS] <file.apk> [<dir>]
- Decode <file.apk> to <dir>.
- OPTS:
- -s, --no-src
- Do not decode sources.
- -r, --no-res
- Do not decode resources.
- -d, --debug
- Decode in debug mode. Check project page for more info.
- -b, --no-debug-info
- Baksmali -- don't write out debug info (.local, .param, .line, etc.)
- -f, --force
- Force delete destination directory.
- -t <tag>, --frame-tag <tag>
- Try to use framework files tagged by <tag>.
- --frame-path <dir>
- Use the specified directory for framework files
- --keep-broken-res
- Use if there was an error and some resources were dropped, e.g.:
- "Invalid config flags detected. Dropping resources", but you
- want to decode them anyway, even with errors. You will have to
- fix them manually before building.
- b[uild] [OPTS] [<app_path>] [<out_file>]
- Build an apk from already decoded application located in <app_path>.
- It will automatically detect, whether files was changed and perform
- needed steps only.
- If you omit <app_path> then current directory will be used.
- If you omit <out_file> then <app_path>/dist/<name_of_original.apk>
- will be used.
- OPTS:
- -f, --force-all
- Skip changes detection and build all files.
- -d, --debug
- Build in debug mode. Check project page for more info.
- -a, --aapt
- Loads aapt from specified location.
- if|install-framework <framework.apk> [<tag>] --frame-path [<location>]
- Install framework file to your system.
- For additional info, see: http://code.google.com/p/android-apktool/
- For smali/baksmali info, see: http://code.google.com/p/smali/
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk
- Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\browser) alr
- eady exists. Use -f switch if you want to overwrite it.
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
- Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\-f) already
- exists. Use -f switch if you want to overwrite it.
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk f
- Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\f) already e
- xists. Use -f switch if you want to overwrite it.
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
- Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\-f) already
- exists. Use -f switch if you want to overwrite it.
- C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
- I: Loading resource table...
- I: Loaded.
- I: Decoding AndroidManifest.xml with resources...
- I: Loading resource table from file: C:\Users\robinjoo1\apktool\framework\1.apk
- I: Loaded.
- I: Regular manifest package...
- I: Decoding file-resources...
- W: Could not decode attr value, using undecoded value instead: ns=android, name=
- title, value=0x01040660
- I: Decoding values */* XMLs...
- I: Done.
- Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
- 0x01040660
- at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
- at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
- at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
- at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
- ceValue.java:62)
- at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
- renceValue.java:46)
- at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
- larValue.java:44)
- at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
- 0)
- at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
- sourceParser.java:313)
- at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
- e(XmlPullParserDelegate.java:69)
- at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
- ag(StaticXmlSerializerWrapper.java:267)
- at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
- cXmlSerializerWrapper.java:211)
- at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
- ecoder.java:80)
- at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
- coder.java:130)
- at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
- ecoderContainer.java:34)
- at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
- 07)
- at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
- 1)
- at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
- )
- at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
- at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
- at brut.apktool.Main.cmdDecode(Main.java:146)
- at brut.apktool.Main.main(Main.java:77)
- C:\Users\robinjoo1\Downloads\apktool\apktool>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement