kaushikgodhani / vocsy_epub_viewer

Apache License 2.0
29 stars 68 forks source link

FolioActivity.kt line 264 com.folioreader.ui.activity.FolioActivity.onCreate #40

Closed Habnarm1 closed 2 months ago

Habnarm1 commented 1 year ago

Exception java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3408) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3547) at android.app.ActivityThread.handleRelaunchActivityInner (ActivityThread.java:5487) at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:5395) at android.app.servertransaction.ActivityRelaunchItem.execute (ActivityRelaunchItem.java:69) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:140) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:96) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2080) at android.os.Handler.dispatchMessage (Handler.java:107) at android.os.Looper.loop (Looper.java:264) at android.app.ActivityThread.main (ActivityThread.java:7581) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:980) Caused by androidx.fragment.app.Fragment$InstantiationException: at androidx.fragment.app.Fragment.instantiate (Fragment.java:678) at androidx.fragment.app.FragmentContainer.instantiate (FragmentContainer.java:57) at androidx.fragment.app.FragmentManager$3.instantiate (FragmentManager.java:507) at androidx.fragment.app.FragmentState.instantiate (FragmentState.java:81) at androidx.fragment.app.FragmentStateManager. (FragmentStateManager.java:85) at androidx.fragment.app.FragmentManager.restoreSaveStateInternal (FragmentManager.java:2505) at androidx.fragment.app.FragmentManager.attachController (FragmentManager.java:2665) at androidx.fragment.app.FragmentController.attachHost (FragmentController.java:117) at androidx.fragment.app.FragmentActivity.lambda$init$3$androidx-fragment-app-FragmentActivity (FragmentActivity.java:140) at androidx.fragment.app.FragmentActivity$$ExternalSyntheticLambda0.onContextAvailable at androidx.activity.contextaware.ContextAwareHelper.dispatchOnContextAvailable (ContextAwareHelper.java:99) at androidx.activity.ComponentActivity.onCreate (ComponentActivity.java:352) at androidx.fragment.app.FragmentActivity.onCreate (FragmentActivity.java:217) at androidx.appcompat.app.AppCompatActivity.onCreate (AppCompatActivity.java:115) at com.folioreader.ui.activity.FolioActivity.onCreate (FolioActivity.kt:264) at android.app.Activity.performCreate (Activity.java:7805) at android.app.Activity.performCreate (Activity.java:7794) at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1306) at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3378) Caused by java.lang.NoSuchMethodException: at java.lang.Class.getConstructor0 (Class.java:2332) at java.lang.Class.getConstructor (Class.java:1728) at androidx.fragment.app.Fragment.instantiate (Fragment.java:663)

huzaifasaeed commented 1 year ago

@kaushikgodhani any update regarding this issue.

Steps to reproduce: 1) open epub 2) rotate screen

App will crash.

kaushikgodhani commented 2 months ago

SORRY FOR DELAY

PLEASE CHECK THIS NEW VERSION "vocsy_epub_viewer: ^3.0.0" AND GIVE YOUR REVIEW.

Habnarm1 commented 2 months ago

ok, would give you update, but current seems android is crashing and cant open epub due to some github link