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

android.util.SuperNotCalledException: Activity {MainActivity} did not call through to super.onCreate() #83

Closed
maoai-xianyu opened this issue Mar 8, 2021 · 2 comments

Comments

@maoai-xianyu
Copy link

java.lang.NoSuchMethodError: No direct method (Landroid/os/Parcel;Ljava/lang/ClassLoader;)V in class Landroid/view/AbsSavedState; or its super classes (declaration of 'android.view.AbsSavedState' appears in /system/framework/framework.jar)
03-08 08:08:54.781 22877 22877 W System.err: AnimatedRoundCornerProgressBar$a.(MovieFile:341)
03-08 08:08:54.781 22877 22877 W System.err: AnimatedRoundCornerProgressBar$a$1.a(MovieFile:364)
03-08 08:08:54.781 22877 22877 W System.err:
AnimatedRoundCornerProgressBar$a$1.createFromParcel(MovieFile:361)

@maoai-xianyu
Copy link
Author

AnimatedRoundCornerProgressBar 类中导入的是 import android.view.AbsSavedState; 当切换到 androidx 的时候,这个类没有改成 import androidx.customview.view.AbsSavedState; 不知道是不是这个触发的这个问题。

@akexorcist
Copy link
Owner

akexorcist commented Apr 13, 2021

This look strange because my library using androidx.customview.view.AbsSavedState, not android.view.AbsSavedState

Please describe more information about your implementation.

  • Library version
  • Code implementation

A few stack trace isn't enough to investigate the problem

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