Closed impvd closed 3 years ago
When Jadx renames a class then a comment is added containing the original class name. Therefore the class name to hook should be really androidx.appcompat.widget.SuggestionsAdapter
.
The packageName of the app absolutely has nothing to do with the class name.
Your Xposed code is just a fragment. Have you made sure to only run your Xposed plugin for the app you want to modify? Otherwise it will be executed in other apps as well and if they don't contain the class androidx.appcompat.widget.SuggestionsAdapter
you will get that error message.
As I don't see an problem in Jadx addressed in this issue I am closing it. If you have problems developing an Xposed plugin you may better create a question on https://Stackoverflow.com containing the minimum working code of your plugin.
@jpstotz Awesome thanks, I just debug it again and logged more details.
07-29 22:04:55.002 4529 4529 E EdXposed-Bridge: java.lang.NoSuchMethodError: androidx.appcompat.widget.SuggestionsAdapter#getSearchManagerSuggestions()#exact
You are right, the class exists. And it seems that I just need to debug the xposed module.
I just decompiled an app with Jadx-gui, and here're the target code that I wanna hook with Xposed:
With the xposed code:
But there's error in log:
It should be something like
com.targetapp.somepath1.somepath2.SuggestionsAdapter
, but I am not sure how to find it.