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] App crashes after building apk #3339

Open
yahu1031 opened this issue Sep 20, 2023 · 4 comments
Open

[BUG] App crashes after building apk #3339

yahu1031 opened this issue Sep 20, 2023 · 4 comments

Comments

@yahu1031
Copy link

Information

  1. Apktool Version (apktool -version) - 2.8.1
  2. Operating System (Mac, Linux, Windows) - Mac
  3. APK From? (Playstore, ROM, Other) - ROM
  4. Java Version (java --version) - 1.8.0_292

Stacktrace/Logcat

Logs

Steps to Reproduce

  1. apktool d app.apk
  2. change the smali code(Just one line)
  3. apktool b app -o app-edit.apk --use-aapt2
  4. Sign the apk
  5. Install it

APK

Apk link

Questions to ask before submission

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

Do you know if this app uses Hermes or JSC? That stacktrace is misleading because RN applications sometimes fallback/attempt to load JSC or vice versa Hermes. So I can't tell if the missing object error is the error itself or just "RN"

@yahu1031
Copy link
Author

More logs

More logs

If you are asking regarding this Hermes, then could be the one right? if not where else i can find it?
Screenshot 2023-09-21 at 9 21 17 AM

@iBotPeaches

@yahu1031
Copy link
Author

This is the jar file if it could help me

@iBotPeaches
Copy link
Owner

Thanks - I'm convinced it might be this issue now - #2490

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