I built this against android-12 and I get the same crash on startup with two devices:
D/dalvikvm( 512): GC_EXPLICIT freed 1812K, 26% free 21444K/28904K, paused 4ms+11ms, total 132ms
W/ActivityManager( 512): Force finishing activity ee.yutani.kotoba/.MainActivity
I/WindowManager( 512): Screenshot max retries 4 of Token{4286d948 ActivityRecord{42937b68 u0 ee.yutani.kotoba/.MainActivity t599 f}} appWin=Window{427fc560 u0 Starting ee.yutani.kotoba} drawState=4
W/WindowManager( 512): Screenshot failure taking screenshot for (1280x800) to layer 21030
I/ActivityManager( 512): Killing 25919:com.google.android.gm/u0a20 (adj 15): empty #17
E/WindowManager(27914):
E/WindowManager(27914): android.view.WindowLeaked: Activity ee.yutani.kotoba.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{420b80a8 V.E..... R....... 0,0-704,128} that was originally added here
E/WindowManager(27914): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:348)
E/WindowManager(27914): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
E/WindowManager(27914): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
E/WindowManager(27914): at android.app.Dialog.show(Dialog.java:286)
E/WindowManager(27914): at ee.yutani.kotoba.MainActivity.LoadingCreate(MainActivity.java:160)
E/WindowManager(27914): at ee.yutani.kotoba.AppMain.ActivityRefresh(AppMain.java:115)
E/WindowManager(27914): at ee.yutani.kotoba.AppMain.ActivityAttach(AppMain.java:104)
E/WindowManager(27914): at ee.yutani.kotoba.MainActivity.onCreate(MainActivity.java:92)
E/WindowManager(27914): at android.app.Activity.performCreate(Activity.java:5231)
E/WindowManager(27914): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/WindowManager(27914): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
E/WindowManager(27914): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
E/WindowManager(27914): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/WindowManager(27914): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/WindowManager(27914): at android.os.Handler.dispatchMessage(Handler.java:102)
E/WindowManager(27914): at android.os.Looper.loop(Looper.java:136)
E/WindowManager(27914): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/WindowManager(27914): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(27914): at java.lang.reflect.Method.invoke(Method.java:515)
E/WindowManager(27914): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/WindowManager(27914): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/WindowManager(27914): at dalvik.system.NativeStart.main(Native Method)
I built this against android-12 and I get the same crash on startup with two devices: