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

Can't patch, error "No method found for experiments in 0b4.1.smali" #10

Open
MaxNjtk opened this issue Apr 26, 2024 · 0 comments
Open

Comments

@MaxNjtk
Copy link

MaxNjtk commented Apr 26, 2024

java -jar IGExperimentsPatcher.jar -p com.instagram.barcelona_329.0.0.19.109-499911085.apk
Patching: C:\Users\Username\Downloads\com.instagram.barcelona_329.0.0.19.109-499911085.apk
Decompiling classes8.dex to smali...
Decompiling classes2.dex to smali...
Decompiling classes6.dex to smali...
Decompiling classes7.dex to smali...
Decompiling classes.dex to smali...
Decompiling classes5.dex to smali...
Decompiling classes3.dex to smali...
Decompiling classes9.dex to smali...
Decompiling classes4.dex to smali...
Searching for call to method enabling dev options in classes2...

No file calling method to enable dev options found in classes2
Searching for call to method enabling dev options in classes9...

No file calling method to enable dev options found in classes9
Searching for call to method enabling dev options in classes3...

No file calling method to enable dev options found in classes3
Searching for call to method enabling dev options in classes4...
Searching for call to method enabling dev options in classes...
Searching for call to method enabling dev options in classes5...
Searching for call to method enabling dev options in classes8...

No file calling method to enable dev options found in classes4
Searching for call to method enabling dev options in classes6...

No file calling method to enable dev options found in classes5

No file calling method to enable dev options found in classes8

No file calling method to enable dev options found in classes6

Found method calling the method to enable experiments in file: C:\Users\Username\Downloads\com.instagram.barcelona_329.0.0.19.109-499911085.apk.out\classes\X\0b4.1.smali
Searching call of method enabling dev options in 0b4.1.smali...

Error while finding what to patch:

No method found for experiments in 0b4.1.smali
Searching for call to method enabling dev options in classes7...

No file calling method to enable dev options found in classes7
Sorry an error occured: the method to patch was not found. You can try with another Instagram version :/
Enabling dev options...
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.chacha.igexperimentspatcher.WhatToPatch.getClassToPatch()" because "whatToPatch" is null
at com.chacha.igexperimentspatcher.FileTextSearch.findSmaliFile(FileTextSearch.java:61)
at com.chacha.igexperimentspatcher.Patcher.enableDevOptions(Patcher.java:117)
at com.chacha.igexperimentspatcher.Patcher.patch(Patcher.java:93)
at com.chacha.igexperimentspatcher.Main.main(Main.java:46)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant