Unable to install apk to device

I have a Google cardboard project made with Unity 2018.4.36 and I can’t make the build on my OnePlus 9Pro. I tried with S8 (android 9) and the apk installs but on mine (android 12) it gives me this error. I have looked for Possible solutions, including updating sdk from Android Studio with API 31, but nothing. Any ideas?

My launch shoots a black screen then closes. I am on a Nord 200 OnePlus. I too am API 31.
But before I started this project which never launched on this Android I had a project in Unity 2020.3.4f1 that did push and work on this phone. I created a new project in 2020.3.30f1 and the 2020.3.4f1 now fails.
It looks like something with Gradle and Java. At least that whats the logcat shows.