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] already been interned error when rebuilding #3718

Closed
skiphansen opened this issue Nov 5, 2024 · 2 comments
Closed

[BUG] already been interned error when rebuilding #3718

skiphansen opened this issue Nov 5, 2024 · 2 comments

Comments

@skiphansen
Copy link

Information

  1. Apktool Version (apktool -version) -
skip@Dell-5510:~/open_src/audio/pandora_re/patch_pandora_v2107.1$ apktool -version
2.10.0
  1. Operating System (Mac, Linux, Windows) -
skip@Dell-5510:~/open_src/audio/pandora_re/patch_pandora_v2107.1$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
  1. APK From? (Playstore, ROM, Other) -
Pandora v21.07.1 from
from https://apkcombo.com/pandora/com.pandora.android/old-versions/
  1. Java Version (java --version) -
skip@Dell-5510:~/open_src/audio/pandora_re/patch_pandora_v2107.1$ java --version
openjdk 11.0.24 2024-07-16
OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04)
OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing)

Steps to Reproduce

apktool d Pandora_v2107.1.apk
apktool b Pandora_v2107.1/

When building the following errors occur:

...
I: Building resources...
Pandora_v2107.1/smali_assets/com/facebook/ads/internal/DisplayAdController.smali[9,24] Class Lcom/facebook/ads/internal/DisplayAdController; has already been interned
I: Copying libs... (/lib)
I: Copying libs... (/kotlin)
I: Copying libs... (/META-INF/services)
Could not smali file: com/facebook/ads/internal/DisplayAdController.smali

Full log: rebuild.log

APK

If this APK can be freely shared, please upload/attach a link to it.

Download from: https://apkcombo.com/pandora/com.pandora.android/download/phone-2107.1-apk

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything?
Yes, exactly.
  1. If you are trying to install a modified apk, did you resign it?
  2. Are you using the latest apktool version?
yes
@iBotPeaches
Copy link
Owner

I believe my comment the last time this occurred here will help you out - #2247 (comment)

You may have secondary dex files intentionally made to trick Apktool. So --only-main-classes may help

@iBotPeaches iBotPeaches closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@skiphansen
Copy link
Author

@iBotPeaches Thanks for the response, adding --only-main-classes worked!

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

No branches or pull requests

2 participants