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

Crash on launch #100

Closed
yephny opened this issue Sep 8, 2024 · 12 comments
Closed

Crash on launch #100

yephny opened this issue Sep 8, 2024 · 12 comments
Labels

Comments

@yephny
Copy link

yephny commented Sep 8, 2024

✍️ Describe the bug

App crashes upon launch

💣 Steps to reproduce

  1. Launch the app

📱 Tech info

  • OS: Android 13
  • App Version: 1.0.0
@CrazyMarvin
Copy link
Contributor

I could reproduce crashes when opening the statistics. Do you mean that or don't you even see the Home screen?

@pixelcap2
Copy link

it crashes on launch for me as well
doesn't launch at all

@BokitoInc
Copy link

Same also crashes with the f-droid version or the latest 1.0.2 release from github. Tried the gplaystore (aurora) and that one worked.
LineageOS 20 microg on apollon

@Nindaleth
Copy link

Nindaleth commented Sep 13, 2024

Hi, I also get a crash immediately on launch without seeing any UI. Version 1.0.0 from F-Droid, Android 13 (Motorola so almost stock Android).

Here's a backtrace that I get, ends with

java.lang.NoSuchMethodError: No direct method <init>(Landroid/os/LocaleList;)V in class Landroid/app/LocaleConfig; or its super classes (declaration of 'android.app.LocaleConfig' appears in /system/framework/framework.jar)
at rocks.poopjournal.fucksgiven.MainActivity$onCreate$1.invoke(MainActivity.kt:36)
at rocks.poopjournal.fucksgiven.MainActivity$onCreate$1.invoke(MainActivity.kt:32)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
Full backtrace

FATAL EXCEPTION: main
Process: rocks.poopjournal.fucksgiven, PID: 30363
java.lang.NoSuchMethodError: No direct method <init>(Landroid/os/LocaleList;)V in class Landroid/app/LocaleConfig; or its super classes (declaration of 'android.app.LocaleConfig' appears in /system/framework/framework.jar)
at rocks.poopjournal.fucksgiven.MainActivity$onCreate$1.invoke(MainActivity.kt:36)
at rocks.poopjournal.fucksgiven.MainActivity$onCreate$1.invoke(MainActivity.kt:32)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.ui.platform.ComposeView.Content(ComposeView.android.kt:428)
at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:252)
at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:251)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:195)
at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:119)
at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:118)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:110)
at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$2.invoke(Wrapper.android.kt:158)
at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$2.invoke(Wrapper.android.kt:157)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:157)
at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:142)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:109)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:35)
at androidx.compose.runtime.ActualJvm_jvmKt.invokeComposable(ActualJvm.jvm.kt:90)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3302)
at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:3235)
at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:725)
at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:1071)
at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:633)
at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:619)
at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:142)
at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:133)
at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:1191)
at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:133)
at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:183)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.kt:322)
at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.kt:199)
at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:140)
at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:133)
at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:1266)
at android.view.View.dispatchAttachedToWindow(View.java:21391)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3503)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3510)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3510)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3510)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3510)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3008)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2473)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9300)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
at android.view.Choreographer.doCallbacks(Choreographer.java:899)
at android.view.Choreographer.doFrame(Choreographer.java:832)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
at android.os.Handler.handleCallback(Handler.java:984)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loopOnce(Looper.java:238)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8094)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957) 

@Nindaleth
Copy link

For the record, I've downloaded the 1.0.2 APK from the Releases and it crashes at the same time with the same backtrace.

@CrazyMarvin
Copy link
Contributor

For the record, I've downloaded the 1.0.2 APK from the Releases and it crashes at the same time with the same backtrace.

Thanks for the information.
That gave me an idea.

@CrazyMarvin
Copy link
Contributor

@mubeen1519, may you please check if I messed up the per-app language setup?

I addedgenerateLocaleConfig = true in the build.gradle.kts and created the file android/app/src/main/res/resources.properties.

@Spiderfffun
Copy link

Same here, lineage android 13

@CrazyMarvin
Copy link
Contributor

We will try to find a fix next month.

@CrazyMarvin CrazyMarvin added the bug label Oct 4, 2024
@mubeen1519
Copy link
Contributor

mubeen1519 commented Oct 4, 2024

FucksGiven-1.0.5-debug.zip
please test the apk guys and let me know if it still crash

#116

@yephny
Copy link
Author

yephny commented Oct 4, 2024

@mubeen1519 It works, no crashes.

@yephny yephny closed this as completed Oct 4, 2024
@CrazyMarvin
Copy link
Contributor

@mubeen1519 It works, no crashes.

Awesome, thanks for your feedback. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants