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: PatchOptionException$InvalidValueTypeException #2278

Open
4 tasks done
User132New opened this issue Nov 1, 2024 · 2 comments · Fixed by #2242
Open
4 tasks done

bug: PatchOptionException$InvalidValueTypeException #2278

User132New opened this issue Nov 1, 2024 · 2 comments · Fixed by #2242
Labels
Bug report Something isn't working

Comments

@User132New
Copy link

User132New commented Nov 1, 2024

Bug description

Bug while patching Google Photos app : An error occurred:
app.revanced.patcher.patch.options.PatchOptionException$InvalidValueTypeException

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

ReVanced Manager: 1.22.0
Google Photosrevanced-manager_logcat_20241101061801198798.log

Installation method

Regular

ReVanced Manager logs

An error occurred:
app.revanced.patcher.patch.options.PatchOptionException$InvalidValueTypeException

Patch logs

  • Device Info
    ReVanced Manager: 1.22.0
    Model: Redmi Note 10S
    Android version: 14
    Supported architectures: arm64-v8a, armeabi-v7a, armeabi
    Root permissions: No

  • Patch Info
    App: com.google.android.apps.photos v7.1.0.677535587 (Suggested: Any)
    Patches version: v4.17.0
    Patches added: Default
    Patches removed: None
    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: revanced/revanced-patches
    Integration source: revanced/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:411)
    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/files/patcher/tmp-LAAAIA/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.
@User132New User132New added the Bug report Something isn't working label Nov 1, 2024
@oSumAtrIX oSumAtrIX linked a pull request Nov 1, 2024 that will close this issue
7 tasks
@cycalo

This comment has been minimized.

@dickta

This comment has been minimized.

@User132New User132New changed the title bug: bug: PatchOptionException$InvalidValueTypeException Nov 12, 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

Successfully merging a pull request may close this issue.

3 participants