Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered a problem when analyzing MIUIEmail.apk #77

Open
HoratioShaw opened this issue Feb 7, 2024 · 0 comments
Open

Encountered a problem when analyzing MIUIEmail.apk #77

HoratioShaw opened this issue Feb 7, 2024 · 0 comments

Comments

@HoratioShaw
Copy link

HoratioShaw commented Feb 7, 2024

I encountered a problem when analyzing MIUIEmail.apk. The error message is as follows:Traceback (most recent call last):

File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyaxmlparser\core.py", line 440, in _get_permission_maxsdk
maxSdkVersion = int(self.get_value_from_tag(item, "maxSdkVersion"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '@7F0B003A'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Scripts\apkinfo.exe_main
.py", line 7, in
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyaxmlparser\cli.py", line 31, in main
apk = APK(filename)
^^^^^^^^^^^^^
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyaxmlparser\core.py", line 310, in init
self._apk_analysis()
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyaxmlparser\core.py", line 366, in _apk_analysis
self._get_permission_maxsdk(uses_permission)
File "C:\Users\Horatio\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyaxmlparser\core.py", line 442, in _get_permission_maxsdk
log.warning(self.get_max_sdk_version() + 'is not a valid value for maxSdkVersion')
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

How to deal with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant