Open anonymousgroundhog opened 4 years ago
I had the same issue.
[API-LEVEL]: 7 soot.SootMethodRefImpl$ClassResolutionFailedException: Class android.view.MenuItem doesn't have method setActionProvider([android.view.ActionProvider]) : android.view.MenuItem; failed to resolve in superclasses and interfacesLooking in android.view.MenuItem which has methods [<android.view.MenuItem: int getItemId()>, <android.view.MenuItem: int getGroupId()>
I jadx-ed the app I tried to analyse and the actual code is MenuItemCompat.setActionProvider
where MenuItemCompat is added in API version 22.1.
So the problems are: first soot failed to fetch the correct SDK for the analysis. What's worth to mention is the app I tried to analyse does not specify which android api level it uses in its MANIFEST.. Second is that soot identified MenuItemCompat as MenuItem.
Also I observed some abnormals in some android malwares - where this errors occurs in some customized funtions
soot.SootMethodRefImpl$ClassResolutionFailedException: Class org.c.b doesn't have method warn([java.lang.String, java.lang.Object, java.lang.Object]) : void; failed to resolve in superclasses and interfacesLooking
I have come across a soot error that indicates it is a method reflection implementation class resolution failure under soot 3.3.0 when trying to analyze an android APK that utilizes Googles Admob library.
Error Messages Displayed:
Error Message 1:
Error Message 2:
Operating System Information:
The android APK utilizes the following requirements:
Dependencies used are:
SOOT Description:
I have been using eclipse and have imported through maven the soot framework. The code I used for analyzing the soot comes from the documentation android example. Below is the example code:
Android File: BannerExample.zip
Any help with this issue would be much appreciated.
Don't hesitate to post any other questions you might have, but I think I have mentioned enough information.
Thanks.