-
Notifications
You must be signed in to change notification settings - Fork 918
Closed
Labels
freshissueDefault label for new, untriaged issues.Default label for new, untriaged issues.
Description
Describe the bug
report issue:
No architecture specified. Determining it using `adb`...
Detected target device architecture as: arm64-v8a
Using latest Github gadget version: 17.2.11
Patcher will be using Gadget version: 17.2.11
Detected apktool version as: Apktool 2.12.0 - a tool for reengineering Android apk files
Traceback (most recent call last):
File "/opt/homebrew/bin/objection", line 8, in <module>
sys.exit(cli())
~~~^^
File "/opt/homebrew/lib/python3.13/site-packages/click/core.py", line 1442, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/click/core.py", line 1363, in main
rv = self.invoke(ctx)
File "/opt/homebrew/lib/python3.13/site-packages/click/core.py", line 1830, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/click/core.py", line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/click/core.py", line 794, in invoke
return callback(*args, **kwargs)
File "/opt/homebrew/lib/python3.13/site-packages/objection/console/cli.py", line 373, in patchapk
patch_android_apk(**locals())
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/objection/commands/mobile_packages.py", line 185, in patch_android_apk
if not patcher.is_apktool_ready():
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/homebrew/lib/python3.13/site-packages/objection/utils/patchers/android.py", line 245, in is_apktool_ready
if semver.compare(o, min_version) < 0:
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/semver.py", line 159, in wrapper
return func(*args, **kwargs)
File "/opt/homebrew/lib/python3.13/site-packages/semver.py", line 856, in compare
v1 = VersionInfo.parse(ver1)
File "/opt/homebrew/lib/python3.13/site-packages/semver.py", line 726, in parse
raise ValueError("%s is not valid SemVer string" % version)
ValueError: Apktool 2.12.0 - a tool for reengineering Android apk files is not valid SemVer string
To Reproduce
run objection patchapk --source xxx.apk
Environment (please complete the following information):
- [Objection Version [e.g. 1.6.2]](objection: 1.11.0)
Metadata
Metadata
Assignees
Labels
freshissueDefault label for new, untriaged issues.Default label for new, untriaged issues.