java.lang.RuntimeException: Unable to instantiate application android.hardware.bluetooth on path: DexPathList

I want to use Ionic 4 to compile a Android 12 app. When I compile my ionic v4 project with JDK8 + SDK Level 27.0.3 for Android logcat I get E AndroidRuntime: FATAL EXCEPTION: main E AndroidRuntime: Process: com.myapp, PID: 28761 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application android.hardware.bluetooth package com.myapp: java.lang.ClassNotFoundException: Didn’t find class … Read more