RuntimeError: Something is wrong with executable "/usr/share/apktool" (GNU/Linux)
See original GitHub issuePrerequisites
Before opening this issue, I tried the following steps:
-
Installed the tool in a way described in the readme and ran
python3 -m obfuscapk.cli --help
without any errors -
Ran the tool using only
Rebuild
,NewSignature
andNewAlignment
obfuscators to verify that the app is not using anti-repackaging techniques -
Ran the tool using
--ignore-libs
flag to exclude third party libraries from the obfuscation -
Checked FAQ and troubleshooting
-
Checked for existing similar issues on GitHub
Description
unable to find why or what is causing this error.
┌─[root@parrot-sec]─[/home/USER/Obfuscapk/src]
└──╼ #python3 -m obfuscapk.cli -p -w /home/USER/temp working dir/ -d /home/USER/obfuscated.apk -o ConstStringEncryption -o Nop -o Goto -o RandomManifest -o Rebuild -o NewSignature -o NewAlignment /home/USER/Obf testing.apk
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/USER/Obfuscapk/src/obfuscapk/cli.py", line 177, in <module>
main()
File "/home/USER/Obfuscapk/src/obfuscapk/cli.py", line 131, in main
check_external_tool_dependencies()
File "/home/USER/Obfuscapk/src/obfuscapk/main.py", line 40, in check_external_tool_dependencies
Apktool()
File "/home/USER/Obfuscapk/src/obfuscapk/tool.py", line 28, in __init__
raise RuntimeError(
RuntimeError: Something is wrong with executable "/usr/share/apktool"
Versions
- Installation mode (e.g., from source or with Docker): from source
- Obufscapk version (e.g., commit 0676488): Obfuscapk 1.2.0
- OS (e.g., Ubuntu 16.04): Parrot OS Security v4.10
- Python version (e.g., 3.7.4): Python 3.8.5
- Apktool version (e.g., v2.4.0): Apktool v2.4.1-dirty
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
apktool build apk fails - Stack Overflow
It seems there's some problem in building the resources while recompiling the apk. what you can do is, when you decompile your apk...
Read more >Apktool.jar common errors and solutions - XDA Forums
Since many got apktool.jar errors and don't know how to search or solve themself, I decided to explain and provide solutions here with...
Read more >Apktool - How to Install - GitHub Pages
Make sure both files are executable ( chmod +x ); Try running apktool via cli. macOS: Download Mac wrapper script (Right click, Save...
Read more >apktool | Kali Linux Tools
I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk I: Regular manifest package... I: Decoding file-resources.
Read more >A Qualitative Analysis of Themes in Instant Messaging ... - Zenodo
Or maybe we can do something else 256kb sounds quite big a limit already. ... it makes a local clone of https://www.cocoapodsspecs during...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, you have to use quotes for all the paths containing spaces, not only for the last path.
Thank you for your help. (my mistake)