SOLVED: Exception while marshaling, Probably the SDK is read-only

Im using Unity 2022.3.9f1, using the integrated android sdk. I’ve tried so many things and I can’t seem to figure it out. Here are my errors:

Error 1:

Error 2:

Error 3:


FIXED! Removing the default unity mobile project plugins fixed it