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

bug(Google Photos): Revanced Manager ERROR when patching #3622

Open
3 tasks done
DomingV opened this issue Sep 5, 2024 · 8 comments
Open
3 tasks done

bug(Google Photos): Revanced Manager ERROR when patching #3622

DomingV opened this issue Sep 5, 2024 · 8 comments
Labels
Bug report Something isn't working

Comments

@DomingV
Copy link

DomingV commented Sep 5, 2024

Bug description

I don't know what's happening. Just reporting a bug when building apk of GPhotos arm64-v8a.

Error logs

- Device Info
ReVanced Manager: 1.21.2
Model: Infinix X6837
Android version: 13
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No

- Patch Info
App: com.google.android.apps.photos v6.59.0.576923577 (Suggested: Any)
Patches version: v4.13.3
Patches added: Default
Patches removed: None
Default patch options changed: None

- Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches
Integration source: revanced/revanced-integrations

- Logs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing temporary files directory
Decoding resources
Executing patches
Applied 3 patches
Compiling patched dex files
Compiled 8 dex files
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~29LVGgbtx4k9CnK5i6y8iQ==/app.revanced.manager.flutter-8DB7k8sptgOSodsIBrHKXQ==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-NAWISO/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-NAWISO/revanced-temporary-files/apk/build/resources.zip]
	at brut.androlib.AaptInvoker.invokeAapt2(Unknown Source:144)
	at brut.androlib.AaptInvoker.invokeAapt(Unknown Source:106)
	at app.revanced.patcher.data.ResourceContext.get(SourceFile:0)
	at app.revanced.patcher.Patcher.get(SourceFile:0)
	at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:462)
	at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
	at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~29LVGgbtx4k9CnK5i6y8iQ==/app.revanced.manager.flutter-8DB7k8sptgOSodsIBrHKXQ==/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-NAWISO/revanced-temporary-files/apk/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-NAWISO/revanced-temporary-files/apk/build/resources.zip]
	at brut.util.OS.exec(Unknown Source:75)
	at brut.androlib.AaptInvoker.invokeAapt2(Unknown Source:122)
	... 7 more
Something went wrong:
PathNotFoundException: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', path = '/data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-NAWISO/out.apk' (OS Error: No such file or directory, errno = 2)

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.
  • All requested information has been provided properly.
@DomingV DomingV added the Bug report Something isn't working label Sep 5, 2024
@DomingV
Copy link
Author

DomingV commented Sep 5, 2024

I'll transfer this to revanced manager

@DomingV
Copy link
Author

DomingV commented Sep 5, 2024

Thanks

@DomingV DomingV closed this as completed Sep 5, 2024
@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
@oSumAtrIX
Copy link
Member

Reopening this as I can't find another open issue about this even though i remember there was one

@7Grn

This comment was marked as resolved.

@oSumAtrIX

This comment was marked as resolved.

@Abinash-G

This comment was marked as spam.

@rowi123

This comment was marked as spam.

@ReVanced ReVanced locked as resolved and limited conversation to collaborators Sep 11, 2024
@ReVanced ReVanced unlocked this conversation Sep 11, 2024
@ReVanced ReVanced locked as spam and limited conversation to collaborators Sep 11, 2024
@LisoUseInAIKyrios
Copy link
Contributor

To anyone running into this, you can patch using a computer, command prompt, and ReVanced CLI tools.

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title bug: Revanced Manager ERROR on Building GPhotos apk arm64-v8a bug(Google Photos): Revanced Manager ERROR when patching Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants