rebelonion / Dantotsu

Anilist client based on Saikou
https://dantotsu.app
Other
1.63k stars 108 forks source link

Exception while downloading file: Failed to create output directory #470

Open Emyr32 opened 1 month ago

Emyr32 commented 1 month ago

Exception while downloading file: Failed to create output directory

I am getting this error whenever I try to download anime after moving download location to SD Card also there is another issue that's been bugging me for awhile which is that whenever I change phone orientation the app crashes.

And nothing downloaded on the SD card is working it keeps showing error 3001

Summary:

This is the error that happens whenever I change phone orientation (landscape to portrait)

Date/time: Fri Aug 16 07:53:50 GMT+03:00 2024 Device: moto g23 OS version: 14 App version: 3.1.0 App version code: 300100000 SDK version: 34 Manufacturer: motorola Brand: motorola Product: penangf_gpn Device: penangf Hardware: mt6768 Host: k8node-10.102.30.63 ID: UHA34.29 Type: user User: queen Tags: release-keys Time: 1717261452000 Radio: MOLY.LR12A.R3.MP.V241.4.P39,MOLY.LR12A.R3.MP.V241.4.P39 Bootloader: unknown Board: penangf Fingerprint: motorola/penangf_gpn/penangf:14/UHA34.29/100:user/release-keys Supported ABIs: arm64-v8a, armeabi-v7a, armeabi Supported 32 bit ABIs: armeabi-v7a, armeabi Supported 64 bit ABIs: arm64-v8a Is emulator: false

Thread: main Activity: MediaDetailsActivity Exception: Unable to resume activity {ani.dantotsu/ani.dantotsu.media.MediaDetailsActivity}: kotlin.UninitializedPropertyAccessException: lateinit property navBar has not been initialized Stack trace: java.lang.RuntimeException: Unable to resume activity {ani.dantotsu/ani.dantotsu.media.MediaDetailsActivity}: kotlin.UninitializedPropertyAccessException: lateinit property navBar has not been initialized at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5004) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5037) at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57) at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:180) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2484) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8225) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049) Caused by: kotlin.UninitializedPropertyAccessException: lateinit property navBar has not been initialized at ani.dantotsu.media.MediaDetailsActivity.getNavBar(MediaDetailsActivity.kt:76) at ani.dantotsu.media.MediaDetailsActivity.onResume(MediaDetailsActivity.kt:427) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1606) at android.app.Activity.performResume(Activity.java:8743) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4993) ... 13 more