zhanwei / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 1 forks source link

Exception in thread "main" unacceptable character #FFFD special characters are not allowed #360

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
D:\apk>apktool b -f doudizhi doudizhi.apk
Exception in thread "main" unacceptable character #FFFD special characters are 
not allowed
in "<reader>", position 36
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:964)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:200)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:104)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
        at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
        at brut.androlib.Androlib.build(Androlib.java:179)
        at brut.androlib.Androlib.build(Androlib.java:174)
        at brut.apktool.Main.cmdBuild(Main.java:188)
        at brut.apktool.Main.main(Main.java:70)

Original issue reported on code.google.com by hank....@gmail.com on 30 Nov 2012 at 3:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by hank....@gmail.com on 30 Nov 2012 at 3:33

Attachments:

GoogleCodeExporter commented 9 years ago
We a couple versions behind w/ snakeyaml so hopefully that'll fix it.

Original comment by connor.tumbleson on 30 Nov 2012 at 3:54

GoogleCodeExporter commented 9 years ago
```ibotpeaches@raganok:~/Downloads/Apktool$ apktool d -f doudizhu.apk 
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package....
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
ibotpeaches@raganok:~/Downloads/Apktool$ apktool b doudizhu
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Warning: AndroidManifest.xml already defines minSdkVersion (in 
http://schemas.android.com/apk/res/android); using existing value in manifest.
I: Building apk file...
ibotpeaches@raganok:~/Downloads/Apktool$ 

Works fine after upgrade to snakeyaml to 1.11.

Fixed


Original comment by `connor.tumbleson` on 19 Dec 2012 at 2:16
* Changed state: **Fixed**
* Added labels: **Milestone-v1.5.1**