-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[BUG] The coding of Chinese characters in decompilation and decompilation. #3033
Comments
Have a chance to test a non-windows machine? Curious if this is isolated to charsets on Windows. |
Sorry, I only have win system. |
Okay thanks. I don't have access to Windows machine for a few weeks or month, so I'll have this sit for a bit. |
@SONGjiemo you can test in Windows Subsystem for Linux (WSL) I think. |
Going to close for this issue - #1460 It discusses character mapping on Windows. |
Information
apktool -version
): 2.7.0Steps to Reproduce
The problem with decompiling APK.
Download size: 0.00 MB
Downloaded Infinity%
Download size: 0.00 MB
Downloaded Infinity%
Decoding 当贝桌面4.0.0 去广告版v2.apk into c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21
java -jar C:\Users\SONG.apklab\apktool_2.7.0.jar d c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v2.apk -o c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21 --only-main-classes
I: Using Apktool 2.7.0 on ��������4.0.0 ȥ����v2.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\SONG\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values / XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
Decoding process was successful
Initializing c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21 as Git repository
cd /d "c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21" && git init && git config core.safecrlf false && git add -A && git commit -q -m "Initial APKLab project"

'git' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Initializing Git process exited with code 1
After recompiling, there is a failure.
Rebuilding 当贝桌面4.0.0 去广告版v2.apk into 当贝桌面4.0.0 去广告版v21\dist
java -jar C:\Users\SONG.apklab\apktool_2.7.0.jar b c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21 --use-aapt2

I: Using Apktool 2.7.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
W: c:\Users\SONG\Downloads\当贝桌面4.0.0 去广告版v21\res: error: failed to open directory: 系统找不到指定的文件�? (2).
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\SONG\AppData\Local\Temp\brut_util_Jar_172791153815051393034569223542023765311.tmp, compile, --dir, c:\Users\SONG\Downloads\��������4.0.0 ȥ����v21\res, --legacy, -o, c:\Users\SONG\Downloads\��������4.0.0 ȥ����v21\build\resources.zip]
Rebuilding process exited with code 1
The text was updated successfully, but these errors were encountered: