Blank shows screen after Splash Screen

Hey,
I tried to move from cordova to capacitor but only getting a blank screen after the spash screen (I know there are other topics about this, but nothing helped).

To reproduce I did:

npm init @capacitor/app
cd my-app
npm i
npm i @capacitor/core
npm i -D @capacitor/cli
npx cap init
npm i @capacitor/android
npx cap add android
npm run build
npx cap sync
npx cap run android

LogCat:

---------------------------- PROCESS STARTED (14915) for package com.example.app ----------------------------
--------- beginning of main
--------- beginning of system
--------- beginning of crash
2023-08-20 16:15:27.227 14915-14915 com.example.ap          com.example.app                      I  Late-enabling -Xcheck:jni
2023-08-20 16:15:27.293 14915-14915 com.example.ap          com.example.app                      E  LoadAppImageStartupCache enabled : 1
2023-08-20 16:15:27.293 14915-14915 com.example.ap          com.example.app                      E  Unknown bits set in runtime_flags: 0x8000
2023-08-20 16:15:27.294 14915-14915 com.example.ap          com.example.app                      I  Reinit property: dalvik.vm.checkjni= false
2023-08-20 16:15:27.294 14915-14915 com.example.ap          com.example.app                      I  ReInitProperties: persist.vm.debug.dumpapi= false
2023-08-20 16:15:27.312 14915-14915 ActivityThread          com.example.app                      D  Attach thread to application
2023-08-20 16:15:27.332 14915-14946 HwPartIawareFactory     com.example.app                      I  add android.common.HwPartIawareFactoryImpl to memory.
2023-08-20 16:15:27.348 14915-14947 ActivityThread          com.example.app                      I  Init compatible state: true
2023-08-20 16:15:27.349 14915-14947 HwFramewor...rtsFactory com.example.app                      D  HwFrameworkSecurityPartsFactory in.
2023-08-20 16:15:27.349 14915-14947 HwFramewor...rtsFactory com.example.app                      I  add HwFrameworkSecurityPartsFactory to memory.
2023-08-20 16:15:27.349 14915-14947 BehaviorCollectManager  com.example.app                      E  Fail to acquire dataAnalyzerService...
2023-08-20 16:15:27.355 14915-14915 ApplicationLoaders      com.example.app                      D  createClassLoader zip: /data/app/com.example.app-zWcSgDP2H0XXnbF0v8vlnQ==/base.apk librarySearchPath: /data/app/com.example.app-zWcSgDP2H0XXnbF0v8vlnQ==/lib/arm64 libraryPermittedPath: /data/user/0/com.example.app parent: java.lang.BootClassLoader@bab36b1 targetSdkVersion: 33 isBundled: false classLoaderName: null sharedLibraries: null
2023-08-20 16:15:27.555 14915-14915 HwApiCacheMangerEx      com.example.app                      I  apicache path=/storage/emulated/0 state=mounted key=com.example.app#11923#256
2023-08-20 16:15:27.556 14915-14915 HwApiCacheMangerEx      com.example.app                      I  need clear apicache,because volumes changed,oldCnt=0 newCnt=1
2023-08-20 16:15:27.560 14915-14947 HwApiCacheMangerEx      com.example.app                      I  apicache path=/storage/emulated/0 state=mounted key=com.example.app#11923#0
2023-08-20 16:15:27.560 14915-14947 HwApiCacheMangerEx      com.example.app                      I  need clear apicache,because volumes changed,oldCnt=1 newCnt=1
2023-08-20 16:15:27.572 14915-14915 HwTypeface              com.example.app                      I  updateFont: scale=0.95
2023-08-20 16:15:27.572 14915-14915 SystemFonts             com.example.app                      D  areFontsVariable: script=Latn
2023-08-20 16:15:27.573 14915-14915 ActivityThread          com.example.app                      I  finishPreloaded preloadStatus 0
2023-08-20 16:15:27.573 14915-14915 RmeSchedManager         com.example.app                      I  init Rme, version is: v1.0
2023-08-20 16:15:27.573 14915-14915 RmeSchedManager         com.example.app                      I  init Rme, version is: v1.0
2023-08-20 16:15:27.573 14915-14915 RtgSchedEvent           com.example.app                      I  current pid:14915 AppType:-1
2023-08-20 16:15:27.577 14915-14947 AwareBitmapCacher       com.example.app                      I  init processName:com.example.app pid=14915 uid=11923
2023-08-20 16:15:27.587 14915-14999 OpenGLRenderer          com.example.app                      I  RenderThread: progress name = [com.example.app], viewCornerType = 0
2023-08-20 16:15:27.588 14915-15005 iGraphics               com.example.app                      I  [0020080c] pn: com.example.app, p: 14915
2023-08-20 16:15:27.589 14915-15005 iGraphics               com.example.app                      I  [0030080c] no spt app: com.example.app
2023-08-20 16:15:27.592 14915-15002 AwareLog                com.example.app                      E  AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@c1c3a07
2023-08-20 16:15:27.625 14915-14915 AppCompatDelegate       com.example.app                      D  Checking for metadata for AppLocalesMetadataHolderService : Service not found
2023-08-20 16:15:27.636 14915-14915 ActivityThread          com.example.app                      V  callActivityOnCreate
2023-08-20 16:15:27.664 14915-14915 DecorView[]             com.example.app                      I  pkgName:com.example.app old windowMode:0 new windoMode:1, isFixedSize:false
2023-08-20 16:15:27.681 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2023-08-20 16:15:27.682 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2023-08-20 16:15:27.695 14915-14915 ApplicationLoaders      com.example.app                      D  createClassLoader zip: /data/app/com.google.android.trichromelibrary_584509231-GGsBhAHmtrrqfGw8iMF3Cw==/base.apk librarySearchPath: /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/lib/arm64:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/base.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.de.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.en.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.es.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.fr.apk!/lib/arm64-v8a:/data/app/com.google.android.trichromelibrary_584509231-GGsBhAHmtrrqfGw8iMF3Cw==/base.apk!/lib/arm64-v8a libraryPermittedPath:  parent: java.lang.BootClassLoader@bab36b1 targetSdkVersion: 34 isBundled: false classLoaderName: null sharedLibraries: null
2023-08-20 16:15:27.700 14915-14915 ApplicationLoaders      com.example.app                      D  createClassLoader zip: /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/base.apk librarySearchPath: /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/lib/arm64:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/base.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.de.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.en.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.es.apk!/lib/arm64-v8a:/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.fr.apk!/lib/arm64-v8a:/data/app/com.google.android.trichromelibrary_584509231-GGsBhAHmtrrqfGw8iMF3Cw==/base.apk!/lib/arm64-v8a libraryPermittedPath:  parent: java.lang.BootClassLoader@bab36b1 targetSdkVersion: 34 isBundled: false classLoaderName: null sharedLibraries: [dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.android.trichromelibrary_584509231-GGsBhAHmtrrqfGw8iMF3Cw==/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/lib/arm64, /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/base.apk!/lib/arm64-v8a, /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.de.apk!/lib/arm64-v8a, /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.en.apk!/lib/arm64-v8a, /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.es.apk!/lib/arm64-v8a, /data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/split_config.fr.apk!/lib/arm64-v8a, /data/app/com.google.android.trichromelibrary_584509231-GGsBhAHmtrrqfGw8iMF3Cw==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64, /prets/lib64]]]]
2023-08-20 16:15:27.728 14915-14915 WebViewFactory          com.example.app                      I  Loading com.google.android.webview version 116.0.5845.92 (code 584509231)
2023-08-20 16:15:27.738 14915-14915 linker                  com.example.app                      W  Warning: "/data/app/com.google.android.webview-JjYJHFANzBxVeB2dSnXmoA==/base.apk!/lib/arm64-v8a/libmonochrome.so" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
2023-08-20 16:15:27.830 14915-14915 cr_WVCFactoryProvider   com.example.app                      I  Loaded version=116.0.5845.92 minSdkVersion=29 isBundle=true multiprocess=true packageId=3
2023-08-20 16:15:27.870 14915-14915 cr_LibraryLoader        com.example.app                      I  Successfully loaded native library
2023-08-20 16:15:27.871 14915-14915 cr_CachingUmaRecorder   com.example.app                      I  Flushed 6 samples from 6 histograms, 0 samples were dropped.
2023-08-20 16:15:27.902 14915-15045 chromium                com.example.app                      W  [WARNING:dns_config_service_android.cc(115)] Failed to read DnsConfig.
2023-08-20 16:15:27.953 14915-14915 Capacitor               com.example.app                      D  Starting BridgeActivity
2023-08-20 16:15:27.972 14915-14915 Capacitor               com.example.app                      D  Registering plugin instance: CapacitorCookies
2023-08-20 16:15:27.976 14915-14915 Capacitor               com.example.app                      D  Registering plugin instance: WebView
2023-08-20 16:15:27.977 14915-14915 Capacitor               com.example.app                      D  Registering plugin instance: CapacitorHttp
2023-08-20 16:15:27.978 14915-14915 Capacitor               com.example.app                      D  Registering plugin instance: Camera
2023-08-20 16:15:27.980 14915-14915 Capacitor               com.example.app                      D  Registering plugin instance: SplashScreen
2023-08-20 16:15:27.982 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden method Landroid/view/View;->getWindowInsetsController()Landroid/view/WindowInsetsController; (blacklist, linking, denied)
2023-08-20 16:15:27.982 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden method Landroid/view/View;->getWindowInsetsController()Landroid/view/WindowInsetsController; (blacklist, linking, denied)
2023-08-20 16:15:27.991 14915-14915 Capacitor               com.example.app                      W  Unable to read file at path public/plugins
2023-08-20 16:15:27.993 14915-14915 Capacitor               com.example.app                      D  Loading app at https://localhost
2023-08-20 16:15:28.009 14915-15051 cr_media                com.example.app                      W  registerBluetoothIntentsIfNeeded: Requires BLUETOOTH permission
2023-08-20 16:15:28.030 14915-14915 ActivityThread          com.example.app                      D  add activity client record, r= ActivityRecord{1b2973c token=android.os.BinderProxy@cd8dc21 {com.example.app/com.example.app.MainActivity}} token= android.os.BinderProxy@cd8dc21
2023-08-20 16:15:28.034 14915-14915 Capacitor               com.example.app                      D  App started
2023-08-20 16:15:28.039 14915-14915 Capacitor               com.example.app                      D  App resumed
2023-08-20 16:15:28.039 14915-14915 HwPartMagi...dowFactory com.example.app                      I  add android.common.HwPartMagicWindowFactoryImpl to memory.
2023-08-20 16:15:28.047 14915-14915 MouseWheelSynthesizer   com.example.app                      D  mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100
2023-08-20 16:15:28.048 14915-14915 ViewRootImpl            com.example.app                      D  ViewRootImpl mIsInProductivePCDisplay: false
2023-08-20 16:15:28.048 14915-14915 HwPartPowe...iceFactory com.example.app                      I  add HwPartPowerOfficeFactoryImpl to memory.
2023-08-20 16:15:28.057 14915-14915 InputEventReceiver      com.example.app                      D  dispatchInputInterval 1000000
2023-08-20 16:15:28.059 14915-14915 RmeSchedManager         com.example.app                      I  init Rme, version is: v1.0
2023-08-20 16:15:28.059 14915-14915 RtgSchedEvent           com.example.app                      I  current pid:14915 AppType:-1
2023-08-20 16:15:28.071 14915-15045 Capacitor               com.example.app                      D  Handling local request: https://localhost/
2023-08-20 16:15:28.072 14915-14915 Choreographer           com.example.app                      I  Skipped 30 frames!  The application may be doing too much work on its main thread.
2023-08-20 16:15:28.080 14915-15101 HiTouch_Pr...reDetector com.example.app                      D  onAttached, package=com.example.app, windowType=1, mIsHiTouchRestricted=false
2023-08-20 16:15:28.082 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden method Landroid/view/View;->getViewRootImpl()Landroid/view/ViewRootImpl; (greylist, reflection, allowed)
2023-08-20 16:15:28.082 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden field Landroid/view/View$AttachInfo;->mVisibleInsets:Landroid/graphics/Rect; (greylist, reflection, allowed)
2023-08-20 16:15:28.082 14915-14915 com.example.ap          com.example.app                      W  Accessing hidden field Landroid/view/ViewRootImpl;->mAttachInfo:Landroid/view/View$AttachInfo; (greylist, reflection, allowed)
2023-08-20 16:15:28.167 14915-14999 mali_winsys             com.example.app                      D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-08-20 16:15:28.181 14915-14999 Gralloc3                com.example.app                      W  mapper 3.x is not supported
2023-08-20 16:15:28.236 14915-14915 HwViewRootImpl          com.example.app                      I  removeInvalidNode jank list is null
2023-08-20 16:15:28.271 14915-14915 DecorView               com.example.app                      D  showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
2023-08-20 16:15:28.274 14915-14915 InputMethodManager      com.example.app                      W  startInputReason = 1
2023-08-20 16:15:28.275 14915-14915 HwRemoteIn...hodManager com.example.app                      W  isCasting false because IHwDistributedWindowManager is invalid.
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->peekLong(JZ)J (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->pokeLong(JJZ)V (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->pokeInt(JIZ)V (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->peekInt(JZ)I (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->pokeByteArray(J[BII)V (greylist, reflection, allowed)
2023-08-20 16:15:28.279 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Llibcore/io/Memory;->peekByteArray(J[BII)V (greylist, reflection, allowed)
2023-08-20 16:15:28.280 14915-14915 InputMethodManager      com.example.app                      W  startInputReason = 5
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed)
2023-08-20 16:15:28.281 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed)
2023-08-20 16:15:28.283 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
2023-08-20 16:15:28.284 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
2023-08-20 16:15:28.284 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
2023-08-20 16:15:28.284 14915-15048 com.example.ap          com.example.app                      W  Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
2023-08-20 16:15:28.552 14915-15151 StubController          com.example.app                      I  system app validUid:11923, isFriend:true
2023-08-20 16:15:32.579 14915-14915 AwareBitmapCacher       com.example.app                      I  init lrucache size: 2097152 pid=14915
2023-08-20 16:15:33.606 14915-15224 ProfileInstaller        com.example.app                      D  Installing profile for com.example.app
2023-08-20 16:15:37.897 14915-15039 cr_ChildProcessConn     com.example.app                      W  Fallback to ComponentInfo{com.google.android.webview/org.chromium.content.app.SandboxedProcessService1}

Chrome console:


(But everything is empty)

The project structure:

The config file:

{
  "appId": "com.example.app",
  "appName": "demoapp",
  "bundledWebRuntime": false,
  "webDir": "dist",
  "plugins": {
    "SplashScreen": {
      "launchShowDuration": 0
    }
  },
  "server": {
    "androidScheme": "https"
  }
}

Does anyone have an idea what to do?
Thanks a lot!

Ok finally solved it. There was a Problem with my phone. A reboot fixed the issue.