Skip to content

Failed to write arsc #5

Description

@Xiangxingqian

Hi,
I am using axml to rewrite arsc file, and pxb.android.arsc.ArscWriter#main as entry, while it throws an exception, the input arsc can be found in attachment [attachment](url
resources.arsc.zip
)

Exception in thread "main" java.lang.RuntimeException
	at pxb.android.arsc.ArscParser.readPackage(ArscParser.java:256)
	at pxb.android.arsc.ArscParser.parse(ArscParser.java:142)
	at pxb.android.arsc.ArscWriter.main(ArscWriter.java:95)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Is there any idea why this happens?

Looking forward your reply, thank you.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions