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: error patching #2161

Closed
4 tasks done
peter9811 opened this issue Aug 24, 2024 · 1 comment
Closed
4 tasks done

bug: error patching #2161

peter9811 opened this issue Aug 24, 2024 · 1 comment
Labels
Bug report Something isn't working

Comments

@peter9811
Copy link

Bug description

Just error

Version of ReVanced Manager and version & name of app you are patching

1.21.2
Trying to patch Google Photos

Installation method

None

ReVanced Manager logs

Empty

Patch logs

- Device Info
ReVanced Manager: 1.21.2
Model: NX729J
Android version: 14
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: Yes

- Patch Info
App: com.google.android.apps.photos v6.95.0.663027175 (Suggested: Any)
Patches version: v4.13.3
Patches added: Default
Patches removed: GmsCore support
Default patch options changed: Spoof features [Features to enable: [com.google.android.apps.photos.NEXUS_PRELOAD, com.google.android.apps.photos.nexus_preload], Features to disable: [com.google.android.apps.photos.PIXEL_2017_PRELOAD, com.google.android.apps.photos.PIXEL_2018_PRELOAD, com.google.android.apps.photos.PIXEL_2019_MIDYEAR_PRELOAD, com.google.android.apps.photos.PIXEL_2019_PRELOAD, com.google.android.feature.PIXEL_2020_MIDYEAR_EXPERIENCE, com.google.android.feature.PIXEL_2020_EXPERIENCE, com.google.android.feature.PIXEL_2021_MIDYEAR_EXPERIENCE, com.google.android.feature.PIXEL_2021_EXPERIENCE, com.google.android.feature.PIXEL_2022_MIDYEAR_EXPERIENCE, com.google.android.feature.PIXEL_2022_EXPERIENCE, com.google.android.feature.PIXEL_2023_MIDYEAR_EXPERIENCE, com.google.android.feature.PIXEL_2023_EXPERIENCE, com.google.android.feature.PIXEL_2024_MIDYEAR_EXPERIENCE, com.google.android.feature.PIXEL_2024_EXPERIENCE, com.google.android.feature.PIXEL_2025_MIDYEAR_EXPERIENCE]]

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

- Logs
Reading APK
Decoding app manifest
Loading patches
An error occurred:
app.revanced.patcher.patch.options.PatchOptionException$InvalidValueTypeException: Type [Ljava.lang.String; was expected but received type java.util.ArrayList
	at app.revanced.patcher.patch.options.PatchOptions.set(Unknown Source:58)
	at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:390)
	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)
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-BAYXZW/out.apk' (OS Error: No such file or directory, errno = 2)

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 is only related to ReVanced Manager.
@peter9811 peter9811 added the Bug report Something isn't working label Aug 24, 2024
@7Grn
Copy link

7Grn commented Aug 24, 2024

for now, use the CLI to apply patches to Google Photos ReVanced/revanced-patches#3576 (comment)

(also unavailability of the ArrayList option
Type [Ljava.lang.String; was expected but received type java.util.ArrayList in Flutter manager may already have been discussing elsewhere) ReVanced/revanced-patches#3459 (comment)

@LisoUseInAIKyrios LisoUseInAIKyrios closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants