New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
iBotPeaches opened this Issue Mar 18, 2015 · 4 comments

Comments

Projects
None yet
1 participant
@iBotPeaches
Owner

iBotPeaches commented Mar 18, 2015

Original issue 360 created by hank.whu on 2012-11-30T03:31:39.000Z:

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)

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #1 originally posted by hank.whu on 2012-11-30T03:32:14.000Z:

file:doudizhu.apk

Owner

iBotPeaches commented Mar 18, 2015

Comment #1 originally posted by hank.whu on 2012-11-30T03:32:14.000Z:

file:doudizhu.apk

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #2 originally posted by hank.whu on 2012-11-30T03:33:07.000Z:

<empty>

Owner

iBotPeaches commented Mar 18, 2015

Comment #2 originally posted by hank.whu on 2012-11-30T03:33:07.000Z:

<empty>

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #3 originally posted by connor.tumbleson on 2012-11-30T03:54:57.000Z:

We a couple versions behind w/ snakeyaml so hopefully that'll fix it.

Owner

iBotPeaches commented Mar 18, 2015

Comment #3 originally posted by connor.tumbleson on 2012-11-30T03:54:57.000Z:

We a couple versions behind w/ snakeyaml so hopefully that'll fix it.

@iBotPeaches

This comment has been minimized.

Show comment
Hide comment
@iBotPeaches

iBotPeaches Mar 18, 2015

Owner

Comment #4 originally posted by connor.tumbleson on 2012-12-19T14:16:00.000Z:

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

Owner

iBotPeaches commented Mar 18, 2015

Comment #4 originally posted by connor.tumbleson on 2012-12-19T14:16:00.000Z:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment