Advertisement
Guest User

error

a guest
Nov 23rd, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1.  
  2. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool
  3. Apktool v1.5.2 - a tool for reengineering Android apk files
  4. Copyright 2010 Ryszard Wi?niewski <brut.alll@gmail.com>
  5. with smali v1.4.1, and baksmali v1.4.1
  6. Updated by @iBotPeaches <connor.tumbleson@gmail.com>
  7. Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
  8.  
  9. Usage: apktool [-q|--quiet OR -v|--verbose] COMMAND [...]
  10.  
  11. COMMANDs are:
  12.  
  13. d[ecode] [OPTS] <file.apk> [<dir>]
  14. Decode <file.apk> to <dir>.
  15.  
  16. OPTS:
  17.  
  18. -s, --no-src
  19. Do not decode sources.
  20. -r, --no-res
  21. Do not decode resources.
  22. -d, --debug
  23. Decode in debug mode. Check project page for more info.
  24. -b, --no-debug-info
  25. Baksmali -- don't write out debug info (.local, .param, .line, etc.)
  26.  
  27. -f, --force
  28. Force delete destination directory.
  29. -t <tag>, --frame-tag <tag>
  30. Try to use framework files tagged by <tag>.
  31. --frame-path <dir>
  32. Use the specified directory for framework files
  33. --keep-broken-res
  34. Use if there was an error and some resources were dropped, e.g.:
  35. "Invalid config flags detected. Dropping resources", but you
  36. want to decode them anyway, even with errors. You will have to
  37. fix them manually before building.
  38.  
  39. b[uild] [OPTS] [<app_path>] [<out_file>]
  40. Build an apk from already decoded application located in <app_path>.
  41.  
  42. It will automatically detect, whether files was changed and perform
  43. needed steps only.
  44.  
  45. If you omit <app_path> then current directory will be used.
  46. If you omit <out_file> then <app_path>/dist/<name_of_original.apk>
  47. will be used.
  48.  
  49. OPTS:
  50.  
  51. -f, --force-all
  52. Skip changes detection and build all files.
  53. -d, --debug
  54. Build in debug mode. Check project page for more info.
  55. -a, --aapt
  56. Loads aapt from specified location.
  57.  
  58. if|install-framework <framework.apk> [<tag>] --frame-path [<location>]
  59. Install framework file to your system.
  60.  
  61. For additional info, see: http://code.google.com/p/android-apktool/
  62. For smali/baksmali info, see: http://code.google.com/p/smali/
  63.  
  64. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk
  65. Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\browser) alr
  66. eady exists. Use -f switch if you want to overwrite it.
  67.  
  68. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
  69. Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\-f) already
  70. exists. Use -f switch if you want to overwrite it.
  71.  
  72. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk f
  73. Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\f) already e
  74. xists. Use -f switch if you want to overwrite it.
  75.  
  76. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
  77. Destination directory (C:\Users\robinjoo1\Downloads\apktool\apktool\-f) already
  78. exists. Use -f switch if you want to overwrite it.
  79.  
  80. C:\Users\robinjoo1\Downloads\apktool\apktool>apktool d browser.apk -f
  81. I: Loading resource table...
  82. I: Loaded.
  83. I: Decoding AndroidManifest.xml with resources...
  84. I: Loading resource table from file: C:\Users\robinjoo1\apktool\framework\1.apk
  85. I: Loaded.
  86. I: Regular manifest package...
  87. I: Decoding file-resources...
  88. W: Could not decode attr value, using undecoded value instead: ns=android, name=
  89. title, value=0x01040660
  90. I: Decoding values */* XMLs...
  91. I: Done.
  92. Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
  93. 0x01040660
  94. at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
  95. at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
  96. at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
  97. at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
  98. ceValue.java:62)
  99. at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
  100. renceValue.java:46)
  101. at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
  102. larValue.java:44)
  103. at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
  104. 0)
  105. at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
  106. sourceParser.java:313)
  107. at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
  108. e(XmlPullParserDelegate.java:69)
  109. at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
  110. ag(StaticXmlSerializerWrapper.java:267)
  111. at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
  112. cXmlSerializerWrapper.java:211)
  113. at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
  114. ecoder.java:80)
  115. at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
  116. coder.java:130)
  117. at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
  118. ecoderContainer.java:34)
  119. at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
  120. 07)
  121. at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
  122. 1)
  123. at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
  124. )
  125. at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
  126. at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
  127. at brut.apktool.Main.cmdDecode(Main.java:146)
  128. at brut.apktool.Main.main(Main.java:77)
  129.  
  130. C:\Users\robinjoo1\Downloads\apktool\apktool>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement