Skip to content

bug: Cannot patch XAPK files #86

@LisoUseInAIKyrios

Description

@LisoUseInAIKyrios

Bug description

XAPK files fail to patch

Example app (patch with "Disable play store updates")
https://apkpure.com/ru/strava-run-hike-android-exercise-laugh/com.strava/download

Error logs

INFO: Loading patches 
INFO: Reading options from options.json 
SEVERE: An unexpected error occurred: Cannot invoke "com.reandroid.arsc.chunk.xml.AndroidManifestBlock.getPackageName()" because "manifest" is null 
java.lang.NullPointerException: Cannot invoke "com.reandroid.arsc.chunk.xml.AndroidManifestBlock.getPackageName()" because "manifest" is null
	at app.morphe.patcher.resource.coder.ArsclibResourceCoder.lazyPackageInfo$lambda$9(ArsclibResourceCoder.kt:124)

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions