Skip to content
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

求教 expected element name 'style' and not 'resources' 问题 #2

Open
Dkaishu opened this issue Jan 9, 2020 · 3 comments
Open

求教 expected element name 'style' and not 'resources' 问题 #2

Dkaishu opened this issue Jan 9, 2020 · 3 comments

Comments

@Dkaishu
Copy link

Dkaishu commented Jan 9, 2020

您好,我在使用ShakaApktool时遇到如下问题,请教一下此引起此问题的原因是什么,您当时是如何修复的?

I: 反编译 values / XMLs...
java.lang.NullPointerException
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a(Unknown Source)
at b.a.d.a.c(Unknown Source)
at b.a.a.b(Unknown Source)
at b.a.B.a(Unknown Source)
at b.b.a.a(Unknown Source)
at b.b.a.a(Unknown Source)
at com.rover12421.shaka.cli.Main.main(Unknown Source)
java.lang.NullPointerException
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a(Unknown Source)
at b.a.d.a.c(Unknown Source)
at b.a.a.b(Unknown Source)
at b.a.B.a(Unknown Source)
at b.b.a.a(Unknown Source)
at b.b.a.a(Unknown Source)
at com.rover12421.shaka.cli.Main.main(Unknown Source)
java.lang.NullPointerException
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a.x.a(Unknown Source)
at b.a.d.a.a(Unknown Source)
at b.a.d.a.c(Unknown Source)
at b.a.a.b(Unknown Source)
at b.a.B.a(Unknown Source)
at b.b.a.a(Unknown Source)
at b.b.a.a(Unknown Source)
at com.rover12421.shaka.cli.Main.main(Unknown Source)
Exception in thread "main" java.lang.IllegalArgumentException: expected element name 'style' and not 'resources'
at org.e.a.a.c(Unknown Source)
at b.a.d.a.a(Unknown Source)
at b.a.d.a.c(Unknown Source)
at b.a.a.b(Unknown Source)
at b.a.B.a(Unknown Source)
at b.b.a.a(Unknown Source)
at b.b.a.a(Unknown Source)
at com.rover12421.shaka.cli.Main.main(Unknown Source)

@supperlitt
Copy link
Owner

其实主要的功能,就是在apktool进行执行命令的时候,使用 -r 不处理资源。这样大部分都可以直接过了。

@matthuo333
Copy link

其实主要的功能,就是在apktool进行执行命令的时候,使用 -r 不处理资源。这样大部分都可以直接过了。

具体怎么解?

@Dkaishu Dkaishu closed this as completed Sep 10, 2020
@Dkaishu Dkaishu reopened this Sep 10, 2020
@Dkaishu
Copy link
Author

Dkaishu commented Sep 10, 2020

直接使用 apktool,带 -r 参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants