Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HI everyone,
- i am having this error since three days i have done every thing in my possession
- At first i thought it's an error of zipalign then i added the path /home/user/Android/Sdk/build-tools/34.0.0/zipalign in my .bashrc and /etc/environment
- but the error continues then
- I thought it's an error for aapt then i added the path /home/user/Android/Sdk/build-tools/34.0.0/aapt in my .bashrc and /etc/environment
- The error is listed bellow
- objection patchapk --source your.apk
- No architecture specified. Determining it using `adb`...
- Detected target device architecture as: x86
- Using latest Github gadget version: 16.2.1
- Patcher will be using Gadget version: 16.2.1
- Detected apktool version as: 2.9.3
- Running apktool empty-framework-dir...
- I: Removing 1.apk framework file...
- Unpacking your.apk
- An error may have occurred while running aapt.
- /usr/bin/aapt: symbol lookup error: /usr/lib/x86_64-linux-gnu/android/libandroidfw.so.0: undefined symbol: _Z18ExtractEntryToFileP10ZipArchiveP8ZipEntryi
- App does not have android.permission.INTERNET, attempting to patch the AndroidManifest.xml...
- Injecting permission: android.permission.INTERNET
- Writing new Android manifest...
- Target class not specified, searching for launchable activity instead...
- An error may have occurred while running aapt.
- /usr/bin/aapt: symbol lookup error: /usr/lib/x86_64-linux-gnu/android/libandroidfw.so.0: undefined symbol: _Z18ExtractEntryToFileP10ZipArchiveP8ZipEntryi
- Unable to determine the launchable activity using aapt, trying to manually parse the AndroidManifest for activity aliases...
- Unable to determine the launchable activity for this app.
- Traceback (most recent call last):
- File "/home/user/Tools/virt_env/bin/objection", line 33, in <module>
- sys.exit(load_entry_point('objection==1.11.0', 'console_scripts', 'objection')())
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
- return self.main(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/click/core.py", line 1078, in main
- rv = self.invoke(ctx)
- ^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
- return __callback(*args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/objection/console/cli.py", line 373, in patchapk
- patch_android_apk(**locals())
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/objection/commands/mobile_packages.py", line 203, in patch_android_apk
- patcher.inject_load_library(target_class=target_class)
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/objection/utils/patchers/android.py", line 788, in inject_load_library
- target_class if target_class else self._get_launchable_activity())
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/home/user/Tools/virt_env/lib/python3.11/site-packages/objection/utils/patchers/android.py", line 373, in _get_launchable_activity
- raise Exception('Unable to determine launchable activity')
- Exception: Unable to determine launchable activity
- Cleaning up temp files...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement