Skip to content

bug: Error while trying to patch with Anddea #280

@AmazingKo

Description

@AmazingKo

Bug description

I'm encountering an error during the final step of the patching process using Anddea's dev bundle

https://github.com/anddea/revanced-patches/blob/dev/patches-bundle.json

Version of Morphe (Manager) and the app you are patching

Using v1.11.0-dev.1 to patch YouTube with Anddea's bundle.

Image

Morphe logs

com.reandroid.arsc.coder.xml.XmlEncodeException: at /data/user/0/app.morphe.manager/app_ephemeral/patcher/apk/resources/package_1/res/values/dimens.xml [line = 3992]
Undefined entry name: <item type="dimen" name="revanced_zero_padding">0.0dip</item>
	at brut.androlib.apk.VersionInfo.encode(Unknown Source:366)
	at okhttp3.Request.scanResourceFiles(Unknown Source:1293)
	at com.reandroid.apk.ApkModuleXmlEncoder.scanDirectory(Unknown Source:376)
	at app.morphe.patcher.resource.coder.ArsclibResourceCoder.encodeResources(Unknown Source:266)
	at app.morphe.patcher.patch.ResourcePatchContext.get(SourceFile:5)
	at app.morphe.patcher.Patcher.get(Unknown Source:44)
	at app.morphe.manager.patcher.Session$run$result$1.invokeSuspend(Unknown Source:10)
	at app.morphe.manager.patcher.Session$run$result$1.invoke(Unknown Source:12)
	at brut.util.BrutIO.startUndspatched(Unknown Source:19)
	at kotlinx.coroutines.JobKt.withContext(Unknown Source:79)
	at app.morphe.manager.patcher.Session.run(Unknown Source:222)
	at app.morphe.manager.patcher.runtime.process.PatcherProcess$start$1.invokeSuspend(Unknown Source:607)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:132)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:126)

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug only affects using Morphe (Manager)

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