"invalid decoded string length" when parsing manifest
shidalao opened this issue · comments
shidalao commented
The steps to reproduce the issue are as follows:
- install app with code
device.install(dst_file, nolaunch=True, silent=True)
, anddst_file
is "C:\temp\zfb_10.2.96.8000_apkcombo.com.apk" - error at:
venv/Lib/site-packages/apkutils2/axml/chunk.py
, function decode_bytes, line 142
shidalao commented
It seems to be a decoding issue. When attempting to decode byte data with a length of 76, the expected length after decoding is 38. However, after trying and using the len() function to calculate, it was found not to equal 38, resulting in an error.
shidalao commented
Also, simply delete that line code will be an alternative to make it right to run.