Failed to attach (to spawn) android process - Python frida
I want to connect to a running process and use JS script. But when trying to execute the command:
frida -U -l script.js -f com.android.app
an error occurs:
/ _ | Frida 12.6.5 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Failed to spawn: unable to find application with identifier 'com.android.app'
At the same time, the application finishes its work and crashes. The peculiarity is that the application has no Activity with the intent-filter parameter "Launch". Why does Frida restart the application? Why does the running process end? What do i do?
3 Answer:
same here, i have even downgraded frida-server to 12.2.27 macedonians% frida -U -l /home/kira/Desktop/frida.js --no-paus -f com.twitter.com __ / _ | Frida 12.2.27 - A world-class dynamic instrumentation toolkit | (_| |
_ | Commands: // || help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at http://www.frida.re/docs/home/ Failed to spawn: unable to find application with identifier 'com.twitter.com' macedonians%
You might have more than one USB device plugged in. Check with frida-ls-devices
, and specify -D <device-id>
instead of -U
to pick a specific one. Use frida-ps -D <id> -ai
to list installed apps and make sure com.android.app
is in that list. Also make sure you're running the latest Frida while doing this. (Many Android-related fixes happened in recent releases.)
#oleavr, It is not Okay " Error message is Failed to spawn: unable to find application with identifier com.android.app"
Read next
- ckeditor5 HTML comments: Conversion upcast - JavaScript
- Redirection Error - redirection
- recent commit broke Nim CI - INim
- Feature Request: Let users enable FIPS mode instead of default AWS endpoints for API calls - amplify-js
- serveIndex is now serving wrong directory if having multiple paths in contentBasePublicPath - JavaScript webpack-dev-server
- Should CSS use HTML namespace? - re-frame-10x
- PrestaShop [BO] Invalid product footer position in RTL - PHP
- slate the cursor can not be maintained after deleteFragment when typing ime - TypeScript