Closed E0697 closed 2 years ago
Can you update to version 2.1 (when it's available on F-Droid) and capture the ADB log?
Just updated to 2.1.0 I had to allow Coffee to run in the background and disable battery optimization for it to work. I'll test the alternate mode now. It's still crashing when trying to access the timer settings tho. Logs: https://bin.disroot.org/?819d93fc72d1990c#ApTp22xVvNf5NgSqRrGoWdGmdyPpz2jGQcoqXaSRhFPG
--------- beginning of crash
05-07 23:02:08.580 8804 8804 E AndroidRuntime: FATAL EXCEPTION: main
05-07 23:02:08.580 8804 8804 E AndroidRuntime: Process: com.github.muellerma.coffee, PID: 8804
05-07 23:02:08.580 8804 8804 E AndroidRuntime: android.content.res.Resources$NotFoundException: Can't find ColorStateList from drawable resource ID #0x7f080019
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.content.res.ResourcesImpl.loadColorStateList(ResourcesImpl.java:1172)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.content.res.Resources.loadColorStateList(Resources.java:1148)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.content.res.TypedArray.getColor(TypedArray.java:520)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:2492)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2724)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2134)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:873)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:815)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:703)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:95)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AlertController.installContent(AlertController.java:232)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.app.Dialog.dispatchOnCreate(Dialog.java:440)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.app.Dialog.show(Dialog.java:322)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.DialogFragment.onStart(DialogFragment.java:710)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.Fragment.performStart(Fragment.java:3053)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:587)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:279)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1840)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1764)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1701)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:488)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.os.Looper.loop(Looper.java:254)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8231)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
05-07 23:02:08.580 8804 8804 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
Can you please test the following apk?
The debug apk doesn't crash. Thank you for the fix.
Describe the bug The app is crashing when I press 'help'. There's another instance of crashing listed below.
To Reproduce Steps to reproduce the behavior:
Expected behavior Opens timer settings
Device (please complete the following information):
Additional context Add any other context about the problem here.