[go: up one dir, main page]

Skip to content

fdroid 0.95 fails to start if upgrading from 0.92 using theme "Light with dark action bar"

Hello, today I updated F-Droid from 0.92 to 0.95 on Android 2.3.6. After the upgrade F-Droid was not starting and the problem seemed to be that the theme option "Light with dark action bar" is not present in the new version anymore. Reinstalling F-Droid 0.92, setting the theme to "Dark" and doing the upgrade again solved the issue. Here is the logcat:

E/AndroidRuntime( 3727): FATAL EXCEPTION: main
E/AndroidRuntime( 3727): java.lang.RuntimeException: Unable to create application org.fdroid.fdroid.FDroidApp: java.lang.IllegalArgumentException: lightWithDarkActionBar is not a constant in class org.fdroid.fdroid.FDroidApp$Theme
E/AndroidRuntime( 3727): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3287)
E/AndroidRuntime( 3727): 	at android.app.ActivityThread.access$2200(ActivityThread.java:121)
E/AndroidRuntime( 3727): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:981)
E/AndroidRuntime( 3727): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3727): 	at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 3727): 	at android.app.ActivityThread.main(ActivityThread.java:3768)
E/AndroidRuntime( 3727): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3727): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 3727): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
E/AndroidRuntime( 3727): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
E/AndroidRuntime( 3727): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3727): Caused by: java.lang.IllegalArgumentException: lightWithDarkActionBar is not a constant in class org.fdroid.fdroid.FDroidApp$Theme
E/AndroidRuntime( 3727): 	at java.lang.Enum.valueOf(Enum.java:176)
E/AndroidRuntime( 3727): 	at org.fdroid.fdroid.FDroidApp$Theme.valueOf(FDroidApp.java:86)
E/AndroidRuntime( 3727): 	at org.fdroid.fdroid.FDroidApp.onCreate(FDroidApp.java:192)
E/AndroidRuntime( 3727): 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
E/AndroidRuntime( 3727): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3284)
E/AndroidRuntime( 3727): 	... 10 more
E/        (  183): Dumpstate > /data/log/dumpstate_app_error
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information