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] ClassNotFoundException in recompiled app #3531

Open
ardevd opened this issue Mar 6, 2024 · 5 comments
Open

[BUG] ClassNotFoundException in recompiled app #3531

ardevd opened this issue Mar 6, 2024 · 5 comments

Comments

@ardevd
Copy link

ardevd commented Mar 6, 2024

Information

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

Stacktrace/Logcat

03-06 18:36:21.784  2822  2822 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Landroid/view/View$OnUnhandledKeyEventListener;
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:92)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:36)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.app.Activity.performLaunchActivity(ActivityThread.java:73)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:44)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:6)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:70)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:41)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Unknown Source:19)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:2)
03-06 18:36:21.784  2822  2822 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:58)
03-06 18:36:21.848  1743  3115 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2

Doing a apktool d and subsequent apktool b on a specific app results in a base.apk that is about half the size of the original (39M vs 61M). Hence, when the app is launched I get a ClassNotFoundException. apktool doesnt show any errors in decompilation or compilation either.

@iBotPeaches
Copy link
Owner

I assume Dropbox app based on stacktrace? Or can you link me to exact version/app you are referring?

@ardevd
Copy link
Author

ardevd commented Mar 7, 2024

@ardevd
Copy link
Author

ardevd commented Mar 14, 2024

Any news?

@iBotPeaches
Copy link
Owner

I downloaded the application and was surprised to find it over 200mb - for a remote...for a car. Thats about all the news at the moment.

7f37fbd25d27ee79c992b99a46a02061  Jaguar Remote_2.18.0_Apkpure.apk

@ardevd
Copy link
Author

ardevd commented Mar 17, 2024

Yeah, it's enormous. But I'll be interested to see if the size reduces significantly when you assemble it again with apktool. I suspect it strips away quite a bit by mistake.

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