Open eitansha opened 1 year ago
edit your local file "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\objection\agent.js", find this lines:
return {
activity: currentActivity.$className,
fragment: fragment.$className,
};
modifiy to:
return {
activity: currentActivity.$className,
fragment: fragment?.$className ?? null,
};
Hello,
I'm encountering an error while trying to retrieve the current activity using the command 'android hooking get current_activity.' The specific error message is as follows (I'm using the flag '--debug') Also, the application is running properly.
I would appreciate any assistance in resolving this issue.