-
Notifications
You must be signed in to change notification settings - Fork 328
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
syntax error in encoding #12
Comments
This error seems to be caused by Apktool which # Decode to "decoded" directory
java -jar ./apktool.jar decode android.apk --output decoded
# Re-encode to "android-reencoded.apk"
java -jar ./apktool.jar build decoded --output android-reencoded.apk If that fails the issue is probably not something I can fix but rather an issue with Apktool or a mistake/oddity in TikTok's source code. |
Thank you very much, there's also an error when reencoding the apk file with just using apktool |
I found multiple issues related to the This makes me wonder: Are you getting the same error or a different one on your Arch installation? |
I'll try it running it on arch x64 again. It's weird that apktool is in the repository for raspbian... |
That is weird. Maybe that package is built using a patched version of AAPT or it used to work and just doesn't anymore. |
the raspbian version an older one (i think it was before 2.4) but decompiling works fine and yeah doesn't work on x64 either maybe its worth trying build for another sdk version?
|
Ok the sdk version thing i suggested makes no sense. I guess the issue can be closed. Thank you very much :) |
No problem! Sorry I couldn't be more helpful here, but unfortunately there's not much I can do if Apktool can't decode or encode a certain APK. There's some issues about this |
I tried using your program under a x64 Arch installation and on a raspberry pi (both times using openjdk 11). The error report below is from the raspberry pi. The apk was the latest tiktok apk. I'd be very grateful if you could help me solve this error.
The text was updated successfully, but these errors were encountered: