-
Notifications
You must be signed in to change notification settings - Fork 61
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
('getApkPackageInfo Error. ', ValueError('chr() arg not in range(256)',)) #13
Comments
We're using this at XDA and found this issue in APKs being uploaded using Android Studio 3.0 and all the new updated build tools. |
@antitree if you would have a fix for us it would be great. |
Working on a fix with XDA. Until a fix is released, does anyone have a suggestion for how to force packing in utf16 mode (as was the default before)? Working: >>> struct.unpack('<L', b[24:28])[0]
0 Not working: >>> struct.unpack('<L', a[24:28])[0]
256 |
|
I would recommend checking out androguard if you want a more actively developed APK parser in python. |
I finally with this method. If you use python2 need to change file ``axmlparserpy/stringblock.py +L89` Origin
To
|
when i run this command
ap = apk.APK(filename)
it show error like this.
('getApkPackageInfo Error. ', ValueError('chr() arg not in range(256)',))
i found the problems.
in this file. stringblock.py
can not resolve unicode.
The text was updated successfully, but these errors were encountered: