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

[BUG] Could not smali file: XYZ already interned #30

Closed
AltayAkkus opened this issue Jan 22, 2024 · 2 comments · Fixed by #31
Closed

[BUG] Could not smali file: XYZ already interned #30

AltayAkkus opened this issue Jan 22, 2024 · 2 comments · Fixed by #31

Comments

@AltayAkkus
Copy link
Contributor

Information

  1. apk.sh version : 1.0.8
  2. Operating System (Mac, Linux, Windows) : Linux, Windows etc.
  3. APK From? (Playstore, ROM, Other) : PlayStore

apk.sh output

I: Smaling smali_assets folder into assets.dex
xyz/smali_assets/audience_network/javax/annotation/concurrent/ThreadSafe.smali
[>] Sorry!
[!] java -jar /home/me/.apk.sh/apktool_2.9.3.jar b -d myapk -o myapk.gagdet.apk --use-aapt2 return errors!
[>] Bye!

Steps to Reproduce

  1. apk.sh patch myfile.apk

APK

Is not needed.

Questions to ask before submission

Are you using the latest apk.sh version? Yes

The thing is that apktool encounters problems with certain APKs, see iBotPeaches/Apktool#2784 .

This can be fixed by using the option --only-main-classes while decoding the .apk, but this feature is not supported by apk.sh.

@IrvanWijayaSardam
Copy link

is it already being merged to latest version ? i need --only-main-classes

@ax ax closed this as completed in #31 May 9, 2024
@ax
Copy link
Owner

ax commented May 9, 2024

Done.

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

Successfully merging a pull request may close this issue.

3 participants